I have a list of file paths. These paths may lead to files on unmounted Volumes. How can I programmatically tell the OS to mount the volume before I try to access the file?
I know this is possible somehow, as iTunes appears to do it. For example, if I initiate playback of a song located on an unmounted network attached volume in iTunes, the volume is mounted automatically for me.
Is the OS supposed to mount the volume automatically for me if I attempt to open the file programmatically at the specified path? Or do I need to mount the drive manually using the Disk Arbitration framework or something similar?
If I need to use the Disk Arbitration framework, what specifically needs to be done?