Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
a command run on login? and unmounting fusesmb??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
szczerb
Veteran
Veteran


Joined: 24 Feb 2007
Posts: 1709
Location: Poland => Lodz

PostPosted: Tue Oct 07, 2008 5:10 pm    Post subject: a command run on login? and unmounting fusesmb?? Reply with quote

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
View user's profile Send private message
MotivatedTea
Apprentice
Apprentice


Joined: 06 Nov 2006
Posts: 269
Location: Toronto, Canada

PostPosted: Sat Oct 11, 2008 6:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum