Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am new to osx but am very experienced with Linux and Windows. I need to mount a subdirectory of a shared drive so the user can access it without being confused by seeing higher levels in the smb path.

I've read around and it appears that Lion only mounts the root of a smb share. I hope this is incorrect so am asking for some tips.

Ideally I would mount smb://path/to/the/directory and this would appear for the user to access. The stuff above the directory would not appear.


share|improve this question
I have found this which I will try… but I am not sure how to make it persistent (there appears to be no /etc/fstab) and I am not sure how it will appear to user in her finder. – starfry Feb 8 '13 at 12:08
for some reason when I do this "mount_smbfs -N smb://myserver/myshare /Volumes/myshare" I get "mount_smbfs: server connection failed: Broken pipe". It works fine through the finder. I think I'll just do that for now. – starfry Feb 8 '13 at 13:03

Your Answer


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

Browse other questions tagged or ask your own question.