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: finding the offset of a partition




On Feb 2, 2006, at 22:49 , Jason Bobier wrote:

I can't seem to find a way to find the offset of a partition on a drive without reading the partition table myself. Is there an easy way to do this?

i.e. given disk1s1 what is it's offset from the beginning of disk1?

AFAIK, there is nothing intrinsic about partitions. It's the partition table that defines them. That's what the system uses to find them, when partitions on a disk are mounted. Why do you think it's otherwise possible?


Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
If you're not confused,
You're not paying attention
--------



_______________________________________________
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: 
 >finding the offset of a partition (From: Jason Bobier <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.