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


disktool | 11 comments | Create New Account
Click here to return to the 'disktool' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
disktool
Authored by: iixhd on Apr 26, '04 09:04:59PM

willjwade mentioned this Mac OS X (or is it really Darwin?) utility called disktool. With disktool, without sudo, you can list recognized disks, mount disks, and unmount attached disks/partitions with it. Unfortunately there is no man page (in 10.2.8) but if you type disktool with no parameters it prints out instructions.

Try "disktool -l" to list all attached drives (not mounted), instead of just guessing from df. Disktool also allows you to mount drives, but I'm not sure if this would work in your case. "sudo mount" may be a stronger way force a mount in the case where the finder refuses to mount the partition. "sudo pdisk" is also probably a more direct (stronger) way to see all recognized disks.

Finally, disktool has a "notify" function (-a) that might decrease the ammount of time it takes for the finder to recognize the mount.



[ Reply to This | # ]