I have a drive mounted at /media/ that contains a directory with a space in the name – let's call it "My Stuff".
I would like to bind mount it to "My Stuff" in my home directory. I tried the following in fstab, but all attempts to mount resulted in a syntax error:
/media/My\ Stuff /home/me/My\ Stuff none bind
"/media/My\ Stuff" "/home/me/My\ Stuff" none bind
"/media/My Stuff" "/home/me/My Stuff" none bind
Is there a way to do this?
Best Answer
You need to replace every occurence of
space
within the directory path by\040
in your fstab file.So try :