• 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: what can i get from io_registry_entry_t for a hard disk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what can i get from io_registry_entry_t for a hard disk


  • Subject: Re: what can i get from io_registry_entry_t for a hard disk
  • From: Chris Sarcone <email@hidden>
  • Date: Wed, 13 Feb 2008 10:51:39 -0800

Nick --

But as the GDB tells me this dictionary contains 17 key-value pairs.

I want to know what other info I can get from this dictionary?

In code, you can CFShow(dict) to display the dictionary on stdout. In GDB, you can do the following:

(gdb) call (void)CFShow(dict)

Could it give me the hard disk model number, serial number, or any info about the volumes and their paths that this disk contains etc?

No. An IOMedia object might have multiple providers (RAID) or be part of an Xsan volume. You can learn more by iterating the registry entries which are parents of that node and looking for properties that indicate certain attributes. Some attributes are defined in <IOKit/storage/IOStorageDeviceCharacteristics.h> and <IOKit/storage/IOStorageProtocolCharacteristics.h>

HTH,

-- Chris


------------------

6 Infinite Loop

M/S 306-2MS

Cupertino CA 95014

phone: (408) 974-4033

fax:   (408) 862-7577

email: email@hidden


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

This email sent to email@hidden

References: 
 >what can i get from io_registry_entry_t for a hard disk (From: Nick Rogers <email@hidden>)

  • Prev by Date: what can i get from io_registry_entry_t for a hard disk
  • Next by Date: Re: Trouble updating a complex software solution
  • Previous by thread: what can i get from io_registry_entry_t for a hard disk
  • Next by thread: Darwin 9.2 Sources
  • Index(es):
    • Date
    • Thread