Apostrophe in fstab

Posted by Hamy on Ask Ubuntu See other posts from Ask Ubuntu or by Hamy
Published on 2012-09-26T03:19:48Z Indexed on 2012/09/26 3:49 UTC
Read the original article Hit count: 377

Filed under:

Can's get a window's directory to mount due to an apostrophe. The relevant bit of fstab:

# Auto-mount windows drive
UUID=0C1C51021C50E86A /media/windows ntfs defaults 0 0

# Auto-mount the Music folder
/media/windows/Documents\040and\040Settings/Foo\040Name/My\040Documents/My\040Music/Foo's\040Music /home/foo/Music none bind 0 0

Note that I'm using the \040 to escape spaces, but man ascii doesn't (from what I see) have an escape character for a '. I've tried \047 to no avail

Thoughts?

© Ask Ubuntu or respective owner

Related posts about fstab