Mounting Local Volumes
Mounting Local Volumes
- Subject: Mounting Local Volumes
- From: "Daniel Ellis" <email@hidden>
- Date: Fri, 06 Jul 2007 15:57:02 -0700
Part of an application I'm working on needs to mount locally attached
volumes based on the volume name. Using FSMountLocalVolumeSync() is pretty
straightforward, but it mounts based on the device node (e.g. /dev/disk0s3
etc).
So I'm looking for a way to find the volume name from the device node, much
the way diskutil does. That way I can find the disk node that correlates to
the desired volume. I was thinking the IOKit might provide some help, but
cannot seem to find anything concrete. I've heard that this is difficult,
but any help would be much appreciated.
Or, maybe someone knows of a different approach to mount an attached local
volume based on the volume name?
Daniel
_________________________________________________________________
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_pcmag_0507
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden