Re: smbfs syntax in fstab

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

 



On Monday 01 December 2003 00:14, John Ellenberger wrote:
> 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)

Have you tried the "\040" bit mentioned in "man fstab"?  Searching via 
Google shows some messages that indicates this might work:

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=urm1tukkt2n2lra97jmhlhgjsiiritmfmi%404ax.com&rnum=16&prev=/groups%3Fq%3Dfstab%2Bsmbfs%2Bspaces%26start%3D10%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26scoring%3Dd%26selm%3Durm1tukkt2n2lra97jmhlhgjsiiritmfmi%25404ax.com%26rnum%3D16

Regards,  Mike Klinke


-- 
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