Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Snow Leopard I was able to mount a subfolder of a Samba share directly using a path like the following in the "Connect to Server" Finder dialog:

smb://someserver/someshare/where/i/really/want/togo

Using that would create a mount in [/Volumes] with the name "togo". It was great for me since at my work we have several servers with the same share name that I need to be connected to simultaneously. I can no longer do this in OS X Lion.

What happens instead is I get several mounts named like "someshare", "someshare-1", "someshare-2", etc. Using the same path just mounts the share, not the subfolder.

Is there any way around this?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

One can use mount_smbfs in the Terminal to do this. However, a directory for the mount must first be created. Luckily, running umount removes that directory. But this is at least a starting point to create a better system.

Mounting:

$ mkdir /Volumes/togo
$ mount_smbfs smb://someserver/someshare/where/i/really/want/togo /Volumes/togo

Unmounting:

$ umount /Volumes/togo

Of course, unmounting should work fine through the finder.

share|improve this answer
    
This works, but is a pain. It would be great if this could be automated in some way. –  donut Feb 21 '12 at 17:00

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.