Doubt regarding exact location hfs volume header structure
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=jDHyjDnj2V5eBXvg7vIJy/Y3fLLV6nI/oPJ1jP0YHs8apWRD81tpBs3e0o+CnA+ojblNVo8yNA18E2LxNyhFcoe+te8vIgTgKO2s6SovUG0aNIWHhuDDl/9EBCno1XFG8hjmtOOsGbrVHFfAR/3uVPZ4TE/q/EnjXixmuuHrRyU= 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
santosh katvate