• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mounting Local Volumes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Mounting Local Volumes
      • From: Alastair Houghton <email@hidden>
  • Prev by Date: Re: speechSynthesizer willSpeakWord trouble
  • Next by Date: Re: speechSynthesizer willSpeakWord trouble
  • Previous by thread: Re: Want to know if a string only contains letters
  • Next by thread: Re: Mounting Local Volumes
  • Index(es):
    • Date
    • Thread