Linux auto-mount

time

Storage? I am Storage!
Joined
Jan 18, 2002
Messages
4,932
Location
Brisbane, Oz
I'm trying to auto-mount Windows shares on this Fedora-based (Linpus) laptop, but the info on the web is a bit inconsistent. It's highly desirable because the laptop can't see the shares at boot time - it has to wait until the WiFi is up and running.

I've installed AutoFS, added a /SMB entry to Auto.Master, and added Windows user and password details to the smbclient command line in Auto.smb.

I can "ls /smb/MyServer" okay, but it complains when I specify the share, i.e. "ls /smb/MyServer/MyShare". The Auto.smb file uses AWK to generate parameters for smbclient, so I suspect there's a problem with the convoluted AWK expression. Or something.

Without boring everyone wth the script code, has anyone got CIFS automounting to work properly?
 
Top