Doubt regarding exact location hfs volume header structure
Doubt regarding exact location hfs volume header structure
- Subject: Doubt regarding exact location hfs volume header structure
- From: santosh katvate <email@hidden>
- Date: Mon, 8 Aug 2005 18:25:17 +0530
Hello everybody
i have a doubt regarding the exact location of volume header of hfs volumes.
SanComputer:~ root# pdisk
Top level command (? for help): L
/dev/rdisk0 map block size=512
#: type name length base ( size )
1: Apple_partition_map Apple 63 @ 1
2: Apple_Free 0+@ 64
3: Apple_HFS Apple_HFS_Untitled_8 29185136 @ 262208 ( 13.9G)
4: Apple_Free 0+@ 29447344
5: Apple_HFS Apple_HFS_Untitled_9 24546680 @ 29709488 ( 11.7G)
6: Apple_Free 0+@ 54256168
7: Apple_HFS Apple_HFS_Untitled_10 23621832 @ 54518312 ( 11.3G)
8: Apple_Free 0+@ 78140144
Device block size=512, Number of Blocks=78140160
DeviceType=0x0, DeviceId=0x0
Now can i assume that the three hfs volumes starts from
Apple_HFS_Untitled_8 from Sector 262208
Apple_HFS_Untitled_9 from Sector 29709488
Apple_HFS_Untitled_10 from Sector 54518312
Now since each HFS Plus volume contains a volume header 1024 bytes
from the start of the volume.
Then can assume that the volume header for each volume are
Apple_HFS_Untitled_8 from Sector (262208 +2)
Apple_HFS_Untitled_9 from Sector (29709488+2)
Apple_HFS_Untitled_10 from Sector (54518312 +2)
But when i am reading signature of volume header for
Apple_HFS_Untitled_8 which starts at Sector (262208 +2) I am
able to retrieve the signature as "H+"
But when i do same thing for Apple_HFS_Untitled_9 .I am not able to
retrieve the signature. i.e i think i am not able to point to correct
location of hfs plus volume header in case of second and third
partition .
What is the place u think i am going wrong
do correct me if i am going wrong.
santosh k
--
Life is Small and Lots of Things to Learn
Lets Share the Knowledge
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden