automatically umount a samba share?

Ted Kaczmarek tedkaz at optonline.net
Sun Sep 19 10:30:32 UTC 2004


On Sun, 2004-09-19 at 15:33, Christopher J. Bottaro wrote:
> is there anyway to automatically unmount a samba share when the connection
> is lost?  i frequently shutdown my windows machine before i remember to
> unmount the samba shares on my linux box.  then on my linux box, whenever i
> try to do anything with the mount point, it just freezes...not even
> smbumount will work on it.
> 
> thanks for the help.
> 
Man I hope this is not the kernel bug coming back to life. 
Drove me nuts .

Are you actively accessing anything on that mount when the problem
occurs?

Does it happen if you are not running a gui as well?

lsof and fuser might help you.


Ted







More information about the fedora-list mailing list