Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Manual mount external drives in target disk mode' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Manual mount external drives in target disk mode
Authored by: foilpan on Jul 19, '05 10:45:33AM
disktool does the same thing.

disktool -l lists mounted disks.

disktool -u device name unmounts the chosen device.

disktool -r refreshes disk arbitration, causing it to find new mounts/unmounts.

disktool -m device name mounts the device.

in 10.4, it seems disktool is deprecated in favor of diskutil, which offers all the same commands and more.



[ Reply to This | # ]
Manual mount external drives in target disk mode
Authored by: jesboat on Jul 20, '05 01:04:31AM

I intentionally wanted to work at a lower level than the Disk Arbitration framework. Since DA originally was responsible for mounting the drive, somehow deciding to ignore permissions, and magically setting some flag somewhere to ignore them (I say magically because it didn't show up in the mount options, where you'd expect it to), I decided to mount the disk directly, where I could be sure no extra settings were getting in the way. Because I re-mounted the drive at the same node that it was originally mounted at, I didn't even need to touch Disk Arbitration.

-Jonathan

---
--
With no walls or fences on the 'net, who needs Windows or Gates?



[ Reply to This | # ]