|
|
#1 |
|
Registered User
Join Date: Nov 2012
Posts: 1
|
autofs - escape space in smbfs share name?
Hi Folks,
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? Thanks!! |
|
|
|
|
|
#2 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,958
|
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.
Googling for: fstype=smbfs spaces finds the following Debian bug report http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=85858 where the "fix" was apparently to use double-backslashes
__________________
hayne.net/macosx.html |
|
|
|
![]() |
| Tags |
| autofs, escape sequences, smbfs |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|