• 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
Re: Mount Point
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mount Point


  • Subject: Re: Mount Point
  • From: "Kyle Sluder" <email@hidden>
  • Date: Thu, 29 May 2008 08:04:13 -0400

On Wed, May 28, 2008 at 2:36 PM, Mr. Gecko <email@hidden> wrote:
> Hello I have a program that finds a device by it's device number such as
> /dev/disk2s3 how would I find out the mount point/name of that device?
> If not how can I find the device number and name from a mount point?

Mounting is taken care of by the Disk Arbitration Framework.  The
closest thing I can find is DAGetDiskBSDName() in DADisk.h, which will
get you the device.  From there you can use low-level BSD calls if you
like.

--Kyle Sluder
_______________________________________________

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

References: 
 >Mount Point (From: "Mr. Gecko" <email@hidden>)

  • Prev by Date: "Enter" key down
  • Next by Date: Re: Ending Editing when Doc Saves?
  • Previous by thread: Re: Mount Point
  • Next by thread: [ANN] CocoaHeads, Stockholm (Sweden) - First meeting ever, June 2
  • Index(es):
    • Date
    • Thread