Bartosz,

One thing to remember is that GPT stores it's header and entry tables at both the start and end of the disk for redundancy. As far as I understand it, by making the disk physically smaller, the GPT primary header and entry data would have become invalid as the last partition would now be ending past the end of the disk


Partition table format

Offset    Length   Content
0   8   Signature ("EFI PART", 45 46 49 20 50 41 52 54)
...
24    8    Current LBA (location of this header copy)
32    8    Backup LBA (location of the other header copy)
40 8 First usable LBA for partitions (primary partition table last LBA + 1)
48    8    Last usable LBA (secondary partition table first LBA - 1)
...


GUID partition entry format

Offset    Length   Content
0    16    Partition type GUID
...
32    8    First LBA (little-endian)
40    8    Last LBA (inclusive, usually odd)
...


See http://en.wikipedia.org/wiki/GUID_Partition_Table
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to