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


Click here to return to the 'careful w/ what you're unmounting' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
careful w/ what you're unmounting
Authored by: jtratcliff on Feb 11, '04 05:51:07PM

This looks like it'll unmount the 1st thing it finds in the /Volumes directory...

Is this guaranteed to be the CD/DVD? If you don't have a CD inserted when
you run this, it'll unmount the 1st external drive it finds...

You might want to key off the fsType = 'cddafs' field of the disktool output
instead of (or in addition to) "Volumes" in the mount point... This will make
sure you only get the 1st audio CD mounted...



[ Reply to This | # ]