Module Name: src Committed By: martin Date: Mon Aug 13 16:12:12 UTC 2018
Modified Files: src/sbin/gpt [netbsd-7]: Makefile add.c backup.c biosboot.c create.c destroy.c gpt.8 gpt.c gpt.h gpt_uuid.c gpt_uuid.h label.c map.c map.h migrate.c recover.c remove.c resize.c resizedisk.c restore.c set.c show.c type.c unset.c Added Files: src/sbin/gpt [netbsd-7]: gpt_private.h header.c main.c Removed Files: src/sbin/gpt [netbsd-7]: drvctl.c Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.8.2.1 -r1.8.2.2 src/sbin/gpt/Makefile cvs rdiff -u -r1.24.4.1 -r1.24.4.2 src/sbin/gpt/add.c cvs rdiff -u -r1.1.6.1 -r1.1.6.2 src/sbin/gpt/backup.c cvs rdiff -u -r1.7.4.1 -r1.7.4.2 src/sbin/gpt/biosboot.c \ src/sbin/gpt/create.c cvs rdiff -u -r1.4.20.1 -r1.4.20.2 src/sbin/gpt/destroy.c cvs rdiff -u -r1.1.2.2 -r0 src/sbin/gpt/drvctl.c cvs rdiff -u -r1.28.4.1 -r1.28.4.2 src/sbin/gpt/gpt.8 cvs rdiff -u -r1.28.2.1 -r1.28.2.2 src/sbin/gpt/gpt.c cvs rdiff -u -r1.11.2.1 -r1.11.2.2 src/sbin/gpt/gpt.h cvs rdiff -u -r0 -r1.2.14.2 src/sbin/gpt/gpt_private.h cvs rdiff -u -r1.10.2.2 -r1.10.2.3 src/sbin/gpt/gpt_uuid.c cvs rdiff -u -r1.3.2.3 -r1.3.2.4 src/sbin/gpt/gpt_uuid.h cvs rdiff -u -r0 -r1.9.4.2 src/sbin/gpt/header.c cvs rdiff -u -r1.14.4.1 -r1.14.4.2 src/sbin/gpt/label.c \ src/sbin/gpt/migrate.c cvs rdiff -u -r0 -r1.11.4.2 src/sbin/gpt/main.c cvs rdiff -u -r1.6.4.1 -r1.6.4.2 src/sbin/gpt/map.c cvs rdiff -u -r1.3 -r1.3.4.1 src/sbin/gpt/map.h cvs rdiff -u -r1.4.20.2 -r1.4.20.3 src/sbin/gpt/recover.c cvs rdiff -u -r1.12.4.1 -r1.12.4.2 src/sbin/gpt/remove.c cvs rdiff -u -r1.8.6.1 -r1.8.6.2 src/sbin/gpt/resize.c cvs rdiff -u -r1.6.2.2 -r1.6.2.3 src/sbin/gpt/resizedisk.c \ src/sbin/gpt/type.c cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sbin/gpt/restore.c cvs rdiff -u -r1.2.6.1 -r1.2.6.2 src/sbin/gpt/set.c src/sbin/gpt/unset.c cvs rdiff -u -r1.15.4.1 -r1.15.4.2 src/sbin/gpt/show.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.