PDA

View Full Version : fstab and spaces in dir's names



Gualicho
14th September 2006, 03:29 AM
I was trying to mount a directory through fstab, but the problem is that the directory's got spaces on its name and i can't make it work. I've already tried something like My\ Dir/ , but it didn't work either. Any help is welcome. Thanks.

Gualicho
14th September 2006, 03:50 AM
I've just solved it. You have to replace the blank space with a \040 Like this:
/My Dir would be /My\040Dir

Omega Blue
14th September 2006, 10:22 AM
You can simply escape it. "/My Dir" would be "/My\ Dir".

aero-z
14th September 2006, 10:47 AM
I've used like /home/WinDocuments/"Documents and Settings"/"Other Stuff"... style.