site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Is there a way to determine the sector offset on the disk of a volume (or partition) without actually parsing the partition table? -Kevin Elliott kelliott@mac.com http://web.mac.com/kelliott/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Nov 7, 2008, at 9:07 PM, Duane Murphy wrote: 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! This email sent to site_archiver@lists.apple.com
participants (1)
-
Kevin Elliott