home | list info | list archive | date index | thread index

Re: problem with spaces in /etc/fstab

On 2020-11-16 19:57, James wrote:
> I am mounting a Windows directory that has spaces.
> 
> This doesn't work:
> //192.168.0.112/usbhd-ntfs/Pictures/Basement Slides /mnt/Slides cifs
> guest,uid=1000,iocharset=utf8?? 0?? 0
> 
> This works:
> //192.168.0.112/usbhd-ntfs/Pictures/Basement\040Slides /mnt/Slides cifs
> guest,uid=1000,iocharset=utf8?? 0?? 0
> 
> Why doesn't
> //192.168.0.112/usbhd-ntfs/Pictures/Basement\ Slides /mnt/Slides cifs
> guest,uid=1000,iocharset=utf8?? 0?? 0
> work with a simple escape?

You might need to escape the escape.  Depends on how that line is read.

I'd try double or single quotes.


	slainte mhath, RGB

--
Richard Guy Briggs               --  ~\    -- ~\             <hpv.tricolour.ca>
<www.TriColour.ca>                 --  \___   o \@      @        Ride yer bike!
Ottawa, ON, CANADA                  --  Lo_>__M__\\/\%__\\/\%
Vote! -- <greenparty.ca>_____GTVS6#790__(*)__(*)________(*)(*)_________________

To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org

message navigation