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 file

mp3 -fstype=cifs,rw,noperm,guest ://
ebooks -fstype=cifs,rw,noperm,guest ://
movies -fstype=cifs,rw,noperm,guest ://
scratch -fstype=cifs,rw,noperm,guest ://
software -fstype=cifs,rw,noperm,guest ://
tv-shows -fstype=cifs,rw,noperm,guest ://
videos -fstype=cifs,rw,noperm,guest ://

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.