Joined: 13 Mar 2003
|Posted: Mon Oct 24, 2005 3:32 pm Post subject: How to mount samba shares with spaces in fstab
Maybe a lot of you knows it, but I had to google a lot to discover how to mount a samba share with spaces in it
If the share is "called like (this)" you have to insert in the fstab file a row like this
//server_name/called\040like\040(this) /mnt/Server smbfs noauto,user,users,credentials=/etc/samba/auto_srv 0 0
It seems that you don't need escape characters for the brackets but you have to substitute the spaces whit the code \040.
Hope it helps someone