Home | History | Annotate | Download | only in gpt
History log of /src/sbin/gpt/main.c
RevisionDateAuthorComments
 1.15  23-Feb-2025  christos Pass some lint.
 1.14  24-May-2020  jmcneill branches: 1.14.8;
Add -H flag to ignore existing MBR (Hybrid MBR/GPT mode).
 1.13  25-Jun-2019  jnemeth Add an "uuid" command to generate a new UUID for a portion. The
primary intention is for use for after cloning disks to prevent
collisions.
 1.12  27-Aug-2018  sevan Add the -T flag to usage()
 1.11  19-Mar-2018  mlelstv branches: 1.11.2; 1.11.4;
Check device parameter to avoid segfaults. Agument synopsis for -l option.
 1.10  16-Feb-2017  christos branches: 1.10.4; 1.10.10;
allow 0 timestamp
 1.9  16-Feb-2017  christos Add -T timestamp for reproducible builds.
 1.8  12-Feb-2017  aymeric Make gpt(8) work when compiled on a glibc-based OS.

This restores the ability to build amd64 install-image's under Linux.
 1.7  29-Dec-2015  christos branches: 1.7.2; 1.7.4;
- add more informational messages
- handle case where last argument is an option not a device (set -l)
 1.6  03-Dec-2015  christos WARNS=6
 1.5  03-Dec-2015  christos eliminate static globals so that commands can be re-used.
 1.4  01-Dec-2015  christos automatically enforce readonly for the commands that don't need to write.
 1.3  01-Dec-2015  christos Refactor the command dispatching and help printing logic.
 1.2  01-Dec-2015  christos Firs step of refactoring, remove all globals, factor out some common code,
handle alternate usage but not advertise it.
 1.1  30-Nov-2015  christos - automatically sync the wedge information unless -n is specified.
- document the general options in the traditional way.
- split the main program into a separate file.
 1.7.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.7.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.10.10.2  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.10.10.1  22-Mar-2018  pgoyette Synch with HEAD, resolve conflicts
 1.10.4.2  28-Aug-2018  martin Pull up following revision(s) (requested by sevan in ticket #992):

external/bsd/top/dist/top.1.in: revision 1.11
sbin/gpt/main.c: revision 1.12
sbin/amrctl/amrctl.c: revision 1.11
bin/df/df.c: revision 1.93
sbin/fsck_ext2fs/fsck_ext2fs.8: revision 1.21
sbin/fsck_ext2fs/main.c: revision 1.38
bin/ksh/ksh.Man: revision 1.26
bin/ln/ln.c: revision 1.40
bin/df/df.1: revision 1.48
bin/df/df.1: revision 1.49

Document the WCPU field.

Match SYNOPSIS with usage()

-G cannot be specified alongside -i or -P.
Heads up by <leot>

Add -l to SYNOPSIS

Update usage to include -w

Match sequence as per SYNOPSIS in manual

Remove reference to -c flag which was never implemented.

Remove references to -c flag which was never included.

Add the -T flag to usage()
 1.10.4.1  09-Apr-2018  bouyer Pull up following revision(s) (requested by mlelstv in ticket #710):
sbin/gpt/main.c: revision 1.11
sbin/gpt/gpt.h: revision 1.37
sbin/gpt/set.c: revision 1.14
sbin/gpt/type.c: revision 1.14
sbin/gpt/unset.c: revision 1.14
sbin/gpt/gpt.8: revision 1.58
Check device parameter to avoid segfaults. Augment synopsis for -l option.
 1.11.4.2  13-Aug-2018  martin Catch up to current for the following, requested by sborrill in ticket #1629:

sbin/gpt/gpt_private.h up to 1.2
sbin/gpt/header.c up to 1.9
sbin/gpt/main.c up to 1.11
sbin/gpt/drvctl.c delete
sbin/gpt/Makefile up to 1.18
sbin/gpt/add.c up to 1.44
sbin/gpt/backup.c up to 1.18
sbin/gpt/biosboot.c up to 1.30
sbin/gpt/create.c up to 1.23
sbin/gpt/destroy.c up to 1.10
sbin/gpt/gpt.8 up to 1.63
sbin/gpt/gpt.c up to 1.75
sbin/gpt/gpt.h up to 1.38
sbin/gpt/gpt_uuid.c up to 1.15
sbin/gpt/gpt_uuid.h up to 1.7
sbin/gpt/label.c up to 1.29
sbin/gpt/map.c up to 1.14
sbin/gpt/map.h up to 1.6
sbin/gpt/migrate.c up to 1.33
sbin/gpt/recover.c up to 1.18
sbin/gpt/remove.c up to 1.22
sbin/gpt/resize.c up to 1.23
sbin/gpt/resizedisk.c up to 1.17
sbin/gpt/restore.c up to 1.18
sbin/gpt/set.c up to 1.14
sbin/gpt/show.c up to 1.41
sbin/gpt/type.c up to 1.15
sbin/gpt/unset.c up to 1.14

Many changes including:
- Significant refactoring
- PR/51230: Add the ability to set the active flag in the PMBR
- Let individual commands decide if ioctl(DIOCMWEDGES) should be done
- Add a "header" subcommand that displays information about the size of
the disk along with information from the GPT header if it exists
- Add listing commands for type, set and unset
- Add help and formatting for set and unset
- Change show to print all the attribute info in one line.
- Improve documentation, including booting and exit status
- Check device parameter to avoid segfaults
 1.11.4.1  19-Mar-2018  martin file main.c was added on branch netbsd-7 on 2018-08-13 16:12:12 +0000
 1.11.2.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.11.2.1  10-Jun-2019  christos Sync with HEAD
 1.14.8.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed