Link to home
Start Free TrialLog in
Avatar of Peterson50
Peterson50Flag for United States of America

asked on

Mounting Drive in a Folder with OSX Lion

Is there a way to mount a drive in a folder with OSX, for example have volume "Datadrive" appear under the documents folder.  I've done this under linux but not certain of the correct syntax for OSX?
Avatar of Anuroopsundd
Anuroopsundd
Flag of India image

diskutil mount -mountPoint <where you want to mount the drive to> <device name>
diskutil mount -mountPoint /foldername /dev/disk1s1
Avatar of Peterson50

ASKER

I tried that and receive the message Volume Capsule on /Volumes/Capsule mounted.  But it does not show up in correct folder

I wanted to mount my external usb drive (called Capsule) in a folder called Drives on my internal HD called Lion

So I did diskutil mount -mountPoint /Lion/Drives /dev/disk2s2

Am I missing something?
ASKER CERTIFIED SOLUTION
Avatar of Anuroopsundd
Anuroopsundd
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks,

Finally got it to work had to unshare the drive and then it worked flawlessly, how do I make it so that it is mounted every time the computer restarts.
Thanks