summaryrefslogtreecommitdiffstats
path: root/sbin/gpt/map.c
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for license.marcel2005-08-311-1/+1
|
* Use __FBSDID.marcel2004-08-071-2/+3
|
* o Save the partition number (=index) in the internal map. The indexmarcel2004-08-071-0/+1
| | | | | | | | | | starts at 1. No index is represented by 0. o Change the show command to display the partition number at the expense of the partition end columm. We already display the start and size. o Enhance the add command to accept the -i option. The -i option allows the user to specify which partition number the new partition should get. o Update the manpage accordingly.
* o Add functionality to add a GPT partition,marcel2002-10-271-49/+28
| | | | | | | | | | | | 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).
* 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.
* Grab a snapshot of Marcel's gpt tool. This is still a work-in-progresspeter2002-07-201-0/+230
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