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


Click here to return to the 'Use hdiutil rather than disktool' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use hdiutil rather than disktool
Authored by: _merlin on Jul 01, '02 07:35:17PM

hdiutil is a fully documented command-line tool that can be used to do this kind of thing. To unmount your disk, you can use 'hdiutil unmount /dev/disk0s13' and to mount it again, you can use 'hdiutil mount /dev/disk0s13'. Of course, you could wire up awk to parse the output from df and automatically unmount the correct device, given a volume name...



[ Reply to This | # ]