Re: Disk Partition Offset?
Re: Disk Partition Offset?
- Subject: Re: Disk Partition Offset?
- From: Kevin Elliott <email@hidden>
- Date: Sat, 08 Nov 2008 16:22:49 -0800
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:
This email sent to email@hidden