smbfs syntax in fstab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok this is probably a dumb syntax question but I can translate valid mount
-t smbfs commands to a valid line in fstab for windows shares that have a
space in the name (i.e. "C Drive").

The command:

Mount -t smbfs "//rimshot/c drive" /rimshot/c ...

won't work in fstab:

"//rimshot/c drive" /rimshot/c smbfs ...

I get "bad line" from the function that mount uses to grab the stuff from
the file.

Also the lines that I can get to work in fstab (i.e. no spaces in the share
name) show up as icons on the desktop.  Is there any way to give them a name
other than the default drive name?

John

(for now I just used the mount in rc.local for the shares with
spaces...kinda clunky) 



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux