• 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: Difference between dvd and dmg
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Difference between dvd and dmg


  • Subject: Re: Difference between dvd and dmg
  • From: j o a r <email@hidden>
  • Date: Sun, 23 Oct 2005 22:26:50 +0200


On 23 okt 2005, at 22.10, Gerriet M. Denkmann wrote:

I looked up kIOMediaSizeKey:
<snip>
So maybe "Size" is not really what I am interested in.

Yes, you're absolutely right - I ment to say kIOMediaPreferredBlockSizeKey...


Is there a "fairly easy" way to get the appropriate IOKit dictionary from a bsd-name (like /dev/rdisk1s2) ?

You might start here:

<http://developer.apple.com/documentation/DeviceDrivers/Conceptual/ WorkingWStorage/index.html>
<http://developer.apple.com/documentation/Darwin/Reference/ KernelIOKitFramework/IOMedia/index.html>


You can adopt the sample code on the first page to return generic kIOMediaClass devices, and then iterate over the returned items until you find the BSD device name that you got at hand.

There might also be some nicer way to do it that I don't know about. Check the documentation, and the sample code, provided by Apple. And Google, never forget Google...

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Difference between dvd and dmg (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Difference between dvd and dmg (From: John Stiles <email@hidden>)
 >Re: Difference between dvd and dmg (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Difference between dvd and dmg (From: j o a r <email@hidden>)
 >Re: Difference between dvd and dmg (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Difference between dvd and dmg
  • Next by Date: Problems drawing... Need help please.
  • Previous by thread: Re: Difference between dvd and dmg
  • Next by thread: Re: Difference between dvd and dmg
  • Index(es):
    • Date
    • Thread