summaryrefslogtreecommitdiffstats
path: root/sbin/gpt
Commit message (Collapse)AuthorAgeFilesLines
* Remove inclusion of <sys/uuid.h>. We now include <sys/uuid.h> inmarcel2002-11-107-7/+0
| | | | | | <sys/gpt.h>. This avoids having to include both <sys/uuid.h> and <uuid.h>, which is considered by your friendly committer to be aestheticly displeasing (= ballyhoo barf barf :-)
* o Remove the fallback implementations of uuid_create(),marcel2002-11-026-68/+5
| | | | | uuid_from_string(), uuid_is_nil() and uuid_to_string(). o Include <uuid.h> where appropriate.
* o Add functionality to add a GPT partition,marcel2002-10-279-104/+389
| | | | | | | | | | | | o Use DCE compliant UUID functions and provide local implementations if they don't exist, o Move dumping of the map to show.c and print the partition type, o Some cleanups and rearrangements. The default GPT partition type is UFS. When no starting block or size are specified, the tool will create a partition in the first free space it find (or that fits, depending on the size).
* Add the functionality to create an (empty) GPT from scratch. Themarcel2002-10-254-2/+199
| | | | | | code is directly copied from migrate.c. The intend is to express migrate in terms of create and add. The functionality to add partitions is not yet there.
* Don't complain if we have an inconsistent map that may be themarcel2002-10-231-8/+13
| | | | | | | | result of an incomplete migration. An incomplete migration is one where the MBR is not turned into a PMBR after creating the GPT. This early in the game it's more convenient to allow the inconsistency, because that avoids that we have to destroy the MBR partitioning for now.
* Make this compile without needing NO_WERROR.peter2002-08-251-1/+1
|
* Grab a snapshot of Marcel's gpt tool. This is still a work-in-progresspeter2002-07-2010-0/+1454
but is useful to have handy. EFI GPT partitions are used instead of the fdisk+disklabel combination. They are pure 64 bit LBA, are fully extensible, support up to 16383 partitons per disk, etc.
OpenPOWER on IntegriCloud