Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disk Partition Offset?




On Nov 7, 2008, at 9:07 PM, Duane Murphy wrote:
Is there a way to determine the sector offset on the disk of a volume
(or partition) without actually parsing the partition table?

I don't believe so. In the end, IOKit (specifically the IOPartitionScheme classes) is the final authority on this and the information is not simply exported from IOPartitionScheme drivers. Most (all?) of the PartitionScheme's hide free space gaps by not publishing IOMedia objects for them. And nothing in the overall design requires that IOMedia objects be created in the same order as they exist on disk. Obviously such a driver would be unusual... but that's not much to go on when it comes to mass storage!


-Kevin Elliott
email@hidden
http://web.mac.com/kelliott/

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

This email sent to email@hidden
References: 
 >Disk Partition Offset? (From: "Duane Murphy" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.