Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a share on a netatalk server that exporting "Don's home" - I want to add to fstab so that it's handled by autofs as an indirect mount.

I've tried using %60 and %20, quoting, escaping with backslash, \40, \040, etc. Anyone know the syntax?

When there are no special characters this works fine:

server:/share dummy url net,automounted,url==afp://user:pass@server/share 0 0
share|improve this question

1 Answer 1

I've searched the whole Internet on this issue, and seems like you cannot automount to mount points with spaces. I've tried all kinds of tricks on Yosemite to make myself sure.

However, you can use manual command to mount to such points, for SMB it will be:

mount_smbfs //user:password@server/share%20with%20spaces /Volumes/Network/Share\ With\ Spaces/

Probably this could can be in some kind of Automator script and get executed at a startup time, but this is not automount, of course. So I've ended up with underscore signs in mount point names.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.