View previous topic :: View next topic |
Author |
Message |
szczerb Veteran
Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Tue Oct 07, 2008 5:10 pm Post subject: a command run on login? and unmounting fusesmb?? |
|
|
I'd like 'fusesmb ~/smb' to be executed on my every login - X or console. How can I achieve this?
And by the way is there a way to unmount fusesmb while not being a root? This is what I get, when I try to:
Code: | szczerb@nomad ~ $ umount ~/smb/
umount: /home/szczerb/smb is not in the fstab (and you are not root) |
It seems messy to put a fusesmb entry for every user in the fstab. |
|
Back to top |
|
|
MotivatedTea Apprentice
Joined: 06 Nov 2006 Posts: 269 Location: Toronto, Canada
|
Posted: Sat Oct 11, 2008 6:56 pm Post subject: |
|
|
To unmount a FUSE-based filesystem, use the "fusermount" command. Try "fusermount -u ~/smb" or "fusermount -u /home/szczerb/smb".
I'm not sure about running it on login. You probably don't want to put it in your .bashrc or else it will try to re-mount it every time you open a new console... Someone else might have an idea about that. |
|
Back to top |
|
|
|