NFS export with spaces in the directory

I can't seem to export a directory foo\ bar on freebsd FreeBSD. In Linux you can put it in quotes like:

Code:
"/home/foo bar"

Is there another way in FreeBSD?
 
I tried this and mountd failed to start.
Code:
"/my dir"  -maproot=root    mypc

Then I tried this and mountd failed to start again.
Code:
'/my dir'  -maproot=root    mypc

Then I tried this and mountd started but it didn't work because there were no exports.
Code:
/my\ dir  -maproot=root    mypc

I looked for any existing bugs but didn't find one. It is my recommendation that you submit a PR.
http://www.freebsd.org/send-pr.html
 
Back
Top