How can I bind mount a directory with a space in it?
Posted
by
chris
on Super User
See other posts from Super User
or by chris
Published on 2012-12-19T03:18:43Z
Indexed on
2012/12/19
5:05 UTC
Read the original article
Hit count: 423
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?
© Super User or respective owner