This task explains how to track available storage devices and their associated volumes.
Tracking Available Devices
NSWorkspace provides several methods for tracking the status of storage devices:
To retrieve the names of local mounted volumes, use the
To wait until new removable devices have been mounted and then retrieve their pathnames, use the
Also, to retrieve the Finder display names for volumes, use
© 2002, 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-06-25)