History log of /haiku-fatelf/src/add-ons/kernel/partitioning_systems/gpt/efi_gpt.cpp
Revision Date Author Comments
# 2dd0a26a 28-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

gpt: Fixed off by one error.

* The backup header would have been written one block behind the actual
last block. Well, at least it would have tried to do so :-)


# 7775bfeb 28-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

gpt: Always use at least 4K to align partitions.

* Many of today's disks that use 4K internally don't advertize this.


# 90308ec3 26-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

gpt: Pointer style changed to preferred.


# ef2558c0 26-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

gpt: Fixed a number of remaining issues.

* The header and table is now correctly written; the backup is still
missing, though.
* The Header class is now responsible for both, the primary, and the
backup header.
* Changed the Header constructors: the block is no longer needed. Also,
under GCC 4 the initialization code accidentally used the read
Header constructor.
* Fixed incorrectly copied GUID - the static_guid cannot be copied
into a guid_t directly.
* Fixed copy&paste bug that would overwrite the offset for the child
partition to be created.
* With all of this in place I successfully created a BFS partition
with a GUID partition table. However, I have not yet tested if other
systems can still read this. Also, creating two partitions doesn't
seem to work yet, either (luckily I only need a single one ;-)).


# ab313893 25-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

Implemented write support, reorganized source files.

* Moved some functionality into their own files so that they can easily
be reused by other code.
* Added crc32() function from FreeBSD. Implemented CRC handling and
validation.
* Implemented missing write functionality.


# 99fc216a 23-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

gpt: do not advertize the partition as read-only.


# 61ba1259 23-Jan-2013 Axel Dörfler <axeld@pinc-software.de>

Renamed partitioning system "efi" directory to "gpt".