Automount
Decided to drop my permanent mounts and go with automount instead. Why? Well I don’t access those folders all the time, they are mainly for backup so mounting only when I need them seemed like a better idea.
I modified the /etc/auto.master file and created a new file named /etc/auto.nosebleed. Contents shown below.
# auto.master file/mnt/nosebleed /etc/auto.nosebleed –timeout=60 –ghost
# auto.nosebleed filemp3 -fstype=cifs,rw,noperm,guest ://10.0.0.200/Mp3
ebooks -fstype=cifs,rw,noperm,guest ://10.0.0.200/eBooks
movies -fstype=cifs,rw,noperm,guest ://10.0.0.200/Movies
scratch -fstype=cifs,rw,noperm,guest ://10.0.0.200/Scratch
software -fstype=cifs,rw,noperm,guest ://10.0.0.200/Software
tv-shows -fstype=cifs,rw,noperm,guest ://10.0.0.200/Tv-Shows
videos -fstype=cifs,rw,noperm,guest ://10.0.0.200/Videos
My options,
–timeout=60 will set the ideal time for the mount. If there is not activity for 60 seconds the path will be unmounted.
–ghost will enable the user to see the mountable directory without mounting them.
Tags: HowTo, Linux





















Peter Chen | August 14th, 2007 at 5:39 am #
Hi Danny,
Thanks for taking time to leave a comment in my post Sultan Sharafuddin, Idris Shah. More hope for Malaysia?. I have responded to your comment.
Peter (Blog*Star 2006 and 2007)
Blogger Tips and Tricks
Danny | August 14th, 2007 at 6:01 pm #
No worries Peter.