Google

Thursday, August 27, 2009

I have 1 terra My Book World Edition disk and I want to mount it to my linux machine. But i dont want to add a line to fstab in order to mount automatically. Because this disk is portable and whenever it is not plugged, linux will stay for a long time to mount this disk while it is startting. It is better to use autofs to mount this kind of share. I set up my share by using My Book World Edition web interface as one can see below:


My username is admin and password is 123456.
To mount cifs share automatically, i just add below line to /etc/auto.misc file
backup -fstype=cifs,username=admin,password=123456 ://disk_server/public