|11-26-2012, 08:54 AM||#1|
Join Date: Nov 2012
autofs - escape space in smbfs share name?
Is there a reason you can't use autofs with smb shares that contain a space in the share name? I have tried absolutely everything to try and escape a space in the share name and nothing works. It should be a simple \ which works fine for hidden shares $
Here is an example:
/Volumes/my_share -fstype=smbfs ://username:Password@servername/my\ share
Why on earth would this not work?
|11-26-2012, 05:35 PM||#2|
Join Date: Jan 2002
The problem is likely due to the string (name of the share) getting passed to some other command that doesn't like spaces. Your backslash "protects" the space only for the first time the string is interpreted.
finds the following Debian bug report
where the "fix" was apparently to use double-backslashes
|autofs, escape sequences, smbfs|
|Display Modes||Rate This Thread|