CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Dec 2 04:17:25 UTC 2015 Modified Files: src/sbin/gpt: gpt.c Log Message: print the old and the new style usage. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sbin/gpt/gpt.c Please note that diffs are

CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Dec 2 04:06:47 UTC 2015 Modified Files: src/sbin/gpt: backup.c Log Message: split out into smaller functions. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sbin/gpt/backup.c Please note that diffs are

CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Dec 2 04:07:11 UTC 2015 Modified Files: src/sbin/gpt: add.c biosboot.c gpt.c gpt.h label.c restore.c show.c Log Message: refactor the utf code so that it does not leak memory. To generate a diff of this commit: cvs rdiff

CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Dec 2 04:06:10 UTC 2015 Modified Files: src/sbin/gpt: type.c Log Message: use the utility function. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sbin/gpt/type.c Please note that diffs are not public

CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Dec 2 01:01:55 UTC 2015 Modified Files: src/sbin/gpt: add.c Log Message: - write a function to set the entity, so that we don't reset to guid. - entry 0 means create entry. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 1 23:29:07 UTC 2015 Modified Files: src/sbin/gpt: add.c biosboot.c gpt.c gpt.h gpt_uuid.c gpt_uuid.h label.c show.c Log Message: merge command line parsers and check all memory allocations. To generate a d

CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 1 22:49:25 UTC 2015 Modified Files: src/sbin/gpt: gpt.8 Log Message: Reflect reality better; we don't handle multiple devices anymore, and the partitions option is only for the commands that support it. To generate a

CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 1 19:25:24 UTC 2015 Modified Files: src/sbin/gpt: add.c create.c gpt.c gpt.h label.c migrate.c remove.c resize.c resizedisk.c set.c type.c unset.c Log Message: refactor more duplicated code. To generate a

CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 1 16:33:56 UTC 2015 Modified Files: src/sbin/gpt: main.c Log Message: automatically enforce readonly for the commands that don't need to write. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sbin/gpt/

CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 1 16:32:19 UTC 2015 Modified Files: src/sbin/gpt: add.c backup.c biosboot.c create.c destroy.c gpt.c gpt.h header.c label.c main.c migrate.c recover.c remove.c resize.c resizedisk.c restore.c set.

CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 1 09:05:33 UTC 2015 Modified Files: src/sbin/gpt: Makefile add.c backup.c biosboot.c create.c destroy.c gpt.8 gpt.c gpt.h header.c label.c main.c map.c map.h migrate.c recover.c remove.c resize.c

Re: CVS commit: src/sbin/gpt

2015-11-30 Thread John Nemeth
On Nov 30, 9:03pm, "Christos Zoulas" wrote: } } This is a multi-part message in MIME format. } } --_--=_1448935435147560 } Content-Disposition: inline } Content-Transfer-Encoding: 8bit } Content-Type: text/plain; charset="US-ASCII" } } Module Name: src } Committed By: christos } Date:

CVS commit: src/sbin/gpt

2015-11-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 1 02:03:55 UTC 2015 Modified Files: src/sbin/gpt: add.c gpt.c resize.c Log Message: - use gpt_msg to print informational messages (perhaps these should be printed only with -v) - don't print any messages with gpt_msg

CVS commit: src/sbin/gpt

2015-11-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 1 01:49:23 UTC 2015 Modified Files: src/sbin/gpt: gpt.c Log Message: only update the wedge information if it is supported. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sbin/gpt/gpt.c Please note

CVS commit: src/sbin/gpt

2015-11-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 30 19:59:34 UTC 2015 Modified Files: src/sbin/gpt: Makefile add.c gpt.8 gpt.c gpt.h resize.c Added Files: src/sbin/gpt: main.c Log Message: - automatically sync the wedge information unless -n is specified. - doc

CVS commit: src/sbin/gpt

2015-11-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 29 15:32:46 UTC 2015 Modified Files: src/sbin/gpt: Makefile gpt.h Removed Files: src/sbin/gpt: drvctl.c Log Message: Remove getdisksize support; we either have the ioctls (current/-7) or we don't (non-netbsd-curr

CVS commit: src/sbin/gpt

2015-11-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 29 14:12:36 UTC 2015 Modified Files: src/sbin/gpt: map.c Log Message: Add some debugging. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sbin/gpt/map.c Please note that diffs are not public domain; t

CVS commit: src/sbin/gpt

2015-11-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 29 14:12:56 UTC 2015 Modified Files: src/sbin/gpt: show.c Log Message: Add the missing cases. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sbin/gpt/show.c Please note that diffs are not public dom

CVS commit: src/sbin/gpt

2015-11-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 29 14:03:36 UTC 2015 Modified Files: src/sbin/gpt: gpt.c Log Message: Do division once To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sbin/gpt/gpt.c Please note that diffs are not public domain; the

CVS commit: src/sbin/gpt

2015-11-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 29 13:46:23 UTC 2015 Modified Files: src/sbin/gpt: gpt.c Log Message: Only use the ioctl's if we have them. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sbin/gpt/gpt.c Please note that diffs are n

CVS commit: src/sbin/gpt

2015-11-29 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sun Nov 29 13:24:28 UTC 2015 Modified Files: src/sbin/gpt: gpt.c Log Message: fix build breakage for systems that do not have DIOCG{SECTOR,MEDIA}SIZE To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sbin/gpt/gp

CVS commit: src/sbin/gpt

2015-11-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 29 00:34:39 UTC 2015 Modified Files: src/sbin/gpt: map.c Log Message: print the current map type. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sbin/gpt/map.c Please note that diffs are not public do

CVS commit: src/sbin/gpt

2015-11-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 29 00:15:12 UTC 2015 Modified Files: src/sbin/gpt: map.c Log Message: - use snprintf - fix bogus logic on map_type To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sbin/gpt/map.c Please note that diffs

CVS commit: src/sbin/gpt

2015-11-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 29 00:14:46 UTC 2015 Modified Files: src/sbin/gpt: add.c backup.c biosboot.c create.c destroy.c gpt.c gpt.h header.c label.c migrate.c recover.c remove.c resize.c resizedisk.c restore.c set.c show.

CVS commit: src/sbin/gpt

2015-11-16 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Mon Nov 16 12:24:13 UTC 2015 Modified Files: src/sbin/gpt: header.c Log Message: correctly print the gpt header revision as a "float" To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sbin/gpt/header.c Please not

CVS commit: src/sbin/gpt

2015-11-02 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Nov 3 02:19:24 UTC 2015 Modified Files: src/sbin/gpt: Makefile gpt.8 gpt.c gpt.h Added Files: src/sbin/gpt: header.c Log Message: Add a "header" subcommand that displays information about the size of the disk along w

CVS commit: src/sbin/gpt

2015-09-04 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Sep 4 17:59:53 UTC 2015 Modified Files: src/sbin/gpt: gpt_uuid.h Log Message: A change to the GPT_TYPE list also requires a change to the GPT_TYPE index constants. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.

CVS commit: src/sbin/gpt

2015-06-17 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Thu Jun 18 01:37:23 UTC 2015 Modified Files: src/sbin/gpt: recover.c Log Message: Instruct user to use resizedisk if media size has changed, as resizedisk will adjust the media size in the headers, whereas recover simply copies t

CVS commit: src/sbin/gpt

2014-12-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 29 16:27:06 UTC 2014 Modified Files: src/sbin/gpt: Makefile gpt.c gpt.h Added Files: src/sbin/gpt: drvctl.c Log Message: Factor out the getdisksize() drvctl method, and provide an alternative that directly uses t

CVS commit: src/sbin/gpt

2014-12-07 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Dec 7 09:51:42 UTC 2014 Modified Files: src/sbin/gpt: type.c Log Message: Fix handling of -t option for the type command. Match any type, when no option is given, just like for the label command. To generate a diff of this

CVS commit: src/sbin/gpt

2014-12-06 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sat Dec 6 21:53:55 UTC 2014 Modified Files: src/sbin/gpt: gpt.8 Log Message: Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sbin/gpt/gpt.8 Please note that diffs are not public domain; t

CVS commit: src/sbin/gpt

2014-12-06 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Dec 6 12:24:22 UTC 2014 Modified Files: src/sbin/gpt: gpt.8 gpt_uuid.c Log Message: Add some more common partition types. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sbin/gpt/gpt.8 cvs rdiff -u -r1.9

CVS commit: src/sbin/gpt

2014-11-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Nov 17 07:11:18 UTC 2014 Modified Files: src/sbin/gpt: gpt.c Log Message: Report the argument instead of (null) when opendisk fails. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sbin/gpt/gpt.c Please n

CVS commit: src/sbin/gpt

2014-11-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Nov 17 07:15:28 UTC 2014 Modified Files: src/sbin/gpt: gpt.c gpt.h Log Message: handle constness better To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sbin/gpt/gpt.c cvs rdiff -u -r1.16 -r1.17 src/sbin/gp

CVS commit: src/sbin/gpt

2014-11-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Nov 17 07:13:42 UTC 2014 Modified Files: src/sbin/gpt: gpt.c Log Message: handle constness To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sbin/gpt/gpt.c Please note that diffs are not public domain; they

CVS commit: src/sbin/gpt

2014-10-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Oct 4 11:23:35 UTC 2014 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: Paranoia: choke noisily on EOF from /dev/urandom. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sbin/gpt/gpt_uuid.c Please

CVS commit: src/sbin/gpt

2014-10-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Oct 4 10:30:13 UTC 2014 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: Make gpt(8) generate v4 (random) uuids. Don't needlessly leak your date/time and MAC address when you edit the disk. Read from /dev/urandom ra

CVS commit: src/sbin/gpt

2014-10-04 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sat Oct 4 07:15:54 UTC 2014 Modified Files: src/sbin/gpt: gpt.8 Log Message: Remove trailing whitespace. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sbin/gpt/gpt.8 Please note that diffs are not public domai

CVS commit: src/sbin/gpt

2014-10-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Oct 4 01:00:42 UTC 2014 Modified Files: src/sbin/gpt: gpt.8 gpt.c Log Message: Allow specifying sector and media size on the command line. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sbin/gpt/gpt.8 c

CVS commit: src/sbin/gpt

2014-10-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 3 20:30:06 UTC 2014 Modified Files: src/sbin/gpt: biosboot.c create.c gpt_uuid.c gpt_uuid.h migrate.c Log Message: provide a copy of the kernel uuid generator (with portable API calls) for tools. To generate a diff of

CVS commit: src/sbin/gpt

2014-10-02 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Fri Oct 3 00:51:31 UTC 2014 Modified Files: src/sbin/gpt: create.c gpt_uuid.c gpt_uuid.h migrate.c Log Message: "0" is not guaranteed to be unique To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sbin/gpt/crea

CVS commit: src/sbin/gpt

2014-10-02 Thread Alan Barrett
Module Name:src Committed By: apb Date: Thu Oct 2 21:27:41 UTC 2014 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: include for both the non-tools build, and the tools build on a host where the file exists. Fixes a build problem on FreeBSD, reported by Herbert J.

CVS commit: src/sbin/gpt

2014-10-02 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Oct 2 19:15:21 UTC 2014 Modified Files: src/sbin/gpt: biosboot.c gpt.c Log Message: Fix tools build on !NetBSD. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sbin/gpt/biosboot.c cvs rdiff -u -r1.34 -r1.35

CVS commit: src/sbin/gpt

2014-10-01 Thread Alan Barrett
Module Name:src Committed By: apb Date: Wed Oct 1 12:55:41 UTC 2014 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: It's HAVE_NBTOOL_CONFIG_H, not HAVE_NBTOOLS_CONFIG_H To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sbin/gpt/gpt_uuid.c Please not

CVS commit: src/sbin/gpt

2014-09-30 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Wed Oct 1 03:52:42 UTC 2014 Modified Files: src/sbin/gpt: resizedisk.c Log Message: oops, forgot to update end of data area To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sbin/gpt/resizedisk.c Please note tha

CVS commit: src/sbin/gpt

2014-09-30 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Wed Oct 1 01:08:25 UTC 2014 Modified Files: src/sbin/gpt: restore.c Log Message: using random values for hdr->hdr_guid does not work very well To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sbin/gpt/restore.c

CVS commit: src/sbin/gpt

2014-09-30 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Wed Oct 1 01:07:24 UTC 2014 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: actually return the uuid when parsing one that is in numeric format To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sbin/gpt/gpt

CVS commit: src/sbin/gpt

2014-09-30 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Sep 30 22:56:36 UTC 2014 Modified Files: src/sbin/gpt: gpt_uuid.c show.c Log Message: correctly show partition type in the new world order To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sbin/gpt/gpt_uuid.c

CVS commit: src/sbin/gpt

2014-09-30 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Sep 30 20:23:23 UTC 2014 Modified Files: src/sbin/gpt: show.c Log Message: Check size of correct buffer. Note, just being pedantic as the buffer being checked is the same size as the one that should have been checked. To g

CVS commit: src/sbin/gpt

2014-09-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Sep 30 18:00:00 UTC 2014 Modified Files: src/sbin/gpt: Makefile add.c backup.c biosboot.c create.c gpt.c gpt.h label.c migrate.c remove.c resize.c resizedisk.c restore.c set.c show.c type.c unset.c Add

CVS commit: src/sbin/gpt

2014-09-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Sep 30 02:12:55 UTC 2014 Modified Files: src/sbin/gpt: add.c backup.c create.c gpt.c gpt.h label.c migrate.c remove.c resize.c resizedisk.c restore.c set.c show.c type.c unset.c Log Message: remove co

CVS commit: src/sbin/gpt

2014-09-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 29 22:22:03 UTC 2014 Modified Files: src/sbin/gpt: backup.c gpt.h migrate.c show.c Log Message: more toolification changes To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sbin/gpt/backup.c cvs rdiff -u

CVS commit: src/sbin/gpt

2014-09-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 29 21:04:34 UTC 2014 Modified Files: src/sbin/gpt: Makefile backup.c biosboot.c destroy.c gpt.c migrate.c Log Message: more toolification To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sbin/gpt/Makef

CVS commit: src/sbin/gpt

2014-09-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Sep 29 20:28:57 UTC 2014 Modified Files: src/sbin/gpt: add.c backup.c biosboot.c create.c destroy.c gpt.c label.c map.c migrate.c recover.c remove.c resize.c resizedisk.c restore.c set.c show.c type.c

CVS commit: src/sbin/gpt

2014-09-28 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Mon Sep 29 05:56:43 UTC 2014 Modified Files: src/sbin/gpt: biosboot.c gpt.8 label.c remove.c type.c Log Message: PR/47990 - Dr. Wolfgang Stukenbrock -- add "-L " as selector option To generate a diff of this commit: cvs rdiff -

CVS commit: src/sbin/gpt

2014-09-28 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sun Sep 28 08:14:51 UTC 2014 Modified Files: src/sbin/gpt: Makefile gpt.8 gpt.c gpt.h Added Files: src/sbin/gpt: type.c Log Message: PR/44218 - David Young -- add "type" subcommand to change a partition type To generate

CVS commit: src/sbin/gpt

2014-09-26 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Fri Sep 26 08:56:35 UTC 2014 Modified Files: src/sbin/gpt: restore.c Log Message: - handle a GPT that isn't an exact multiple of a sector - adjust PMBR size, in case new disk is a different size - don't leak as much memory - clea

CVS commit: src/sbin/gpt

2014-09-25 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Fri Sep 26 05:34:15 UTC 2014 Modified Files: src/sbin/gpt: biosboot.c Log Message: no C99isms in tool code To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sbin/gpt/biosboot.c Please note that diffs are not publ

CVS commit: src/sbin/gpt

2014-09-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 23 13:48:04 UTC 2014 Modified Files: src/sbin/gpt: resizedisk.c Log Message: Fix compile error observed on i386. Use PRIu64. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sbin/gpt/resizedisk.c Please

CVS commit: src/sbin/gpt

2014-09-23 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Sep 23 07:47:54 UTC 2014 Modified Files: src/sbin/gpt: Makefile gpt.8 gpt.c gpt.h Added Files: src/sbin/gpt: resizedisk.c Log Message: - make gpt_gpt() available for use directly by subcommands - create new resizedisk

CVS commit: src/sbin/gpt

2014-09-20 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sat Sep 20 22:36:09 UTC 2014 Modified Files: src/sbin/gpt: gpt.8 Log Message: document the new restore subcommand To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sbin/gpt/gpt.8 Please note that diffs are not

CVS commit: src/sbin/gpt

2014-09-20 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sat Sep 20 22:11:27 UTC 2014 Modified Files: src/sbin/gpt: restore.c Log Message: Initial cut of gpt restore. This functions correctly in testing, but isn't all that pretty. It has minimal error testing and may leak memory. It

CVS commit: src/sbin/gpt

2014-09-10 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Wed Sep 10 10:49:44 UTC 2014 Modified Files: src/sbin/gpt: backup.c Log Message: - dump all partitions, not just ones that are in use - while here, squash a memory leak It shouldn't be necessary to backup unused partitions,

CVS commit: src/sbin/gpt

2014-09-08 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Sep 9 06:30:09 UTC 2014 Modified Files: src/sbin/gpt: backup.c Log Message: - record the sector size of the disk - correct confusion with end_cylinder and end_sector in MBRs To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sbin/gpt

2014-08-10 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sun Aug 10 18:27:16 UTC 2014 Modified Files: src/sbin/gpt: Makefile gpt.c gpt.h Added Files: src/sbin/gpt: restore.c Log Message: Add restore subcommand. XXX It does not actually work yet. It is being committed now to m

CVS commit: src/sbin/gpt

2013-12-18 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Thu Dec 19 07:49:50 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 Log Message: Bump date for previous. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sbin/gpt/gpt.8 Please note that diffs are not public domain; t

CVS commit: src/sbin/gpt

2013-12-18 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Thu Dec 19 06:46:51 UTC 2013 Modified Files: src/sbin/gpt: Makefile gpt.8 gpt.c gpt.h Added Files: src/sbin/gpt: backup.c Log Message: Add the backup subcommand. It dumps the contents of the partition tables as a plist,

CVS commit: src/sbin/gpt

2013-12-17 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Wed Dec 18 03:20:10 UTC 2013 Modified Files: src/sbin/gpt: show.c Log Message: If we want to GUIDs to display with correct endian, it helps to decode it first. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/s

CVS commit: src/sbin/gpt

2013-12-09 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Dec 10 01:05:00 UTC 2013 Modified Files: src/sbin/gpt: add.c resize.c set.c unset.c Log Message: Explicitly state which partition was added/modified. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sbin/gp

CVS commit: src/sbin/gpt

2013-12-09 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Mon Dec 9 09:22:44 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 Log Message: Fix typo. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/sbin/gpt/gpt.8 Please note that diffs are not public domain; they are subjec

CVS commit: src/sbin/gpt

2013-12-09 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Mon Dec 9 08:03:17 UTC 2013 Modified Files: src/sbin/gpt: Makefile gpt.8 gpt.c gpt.h Added Files: src/sbin/gpt: set.c unset.c Log Message: Add two new subcommands, "set" and "unset". These were inspired by FreeBSD's gpa

CVS commit: src/sbin/gpt

2013-12-08 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Mon Dec 9 01:35:02 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 show.c Log Message: For the "show -i " subcommand, print Start and Size both in terms of number of sectors and bytes. To generate a diff of this commit: cvs rdiff

CVS commit: src/sbin/gpt

2013-12-08 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sun Dec 8 09:32:51 UTC 2013 Modified Files: src/sbin/gpt: add.c gpt.8 resize.c Log Message: For the add and resize subcommands, change the -s option. If there is no suffix, or the suffix is 's' or 'S', size is in sectors (as be

CVS commit: src/sbin/gpt

2013-12-08 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sun Dec 8 08:30:01 UTC 2013 Modified Files: src/sbin/gpt: show.c Log Message: fix off-by-one error To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sbin/gpt/show.c Please note that diffs are not public domain

CVS commit: src/sbin/gpt

2013-12-05 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Fri Dec 6 02:31:31 UTC 2013 Modified Files: src/sbin/gpt: add.c gpt.8 resize.c Log Message: Don't attempt to create/resize an unaligned partition if the attempt to create/resize an aligned one failed. This simplifies the code a

CVS commit: src/sbin/gpt

2013-12-04 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Dec 4 20:15:51 UTC 2013 Modified Files: src/sbin/gpt: create.c gpt.c migrate.c Log Message: Use MBR_PTYPE_ defines from . To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sbin/gpt/create.c cvs rdiff -u -r1.

CVS commit: src/sbin/gpt

2013-12-04 Thread Jonathan A. Kollasch
Module Name:src Committed By: jakllsch Date: Wed Dec 4 19:59:47 UTC 2013 Modified Files: src/sbin/gpt: migrate.c Log Message: Mirror my changes of src/sbin/gpt/create.c 1.4 in migrate.c; Use less bogus CHS addresses in PMBR. With the ending head set at 0xff one machine I

CVS commit: src/sbin/gpt

2013-11-30 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sat Nov 30 19:43:53 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 show.c Log Message: Add two new options: -g which shows the GUID for a partition -i which shows all the gory details for a particular option XXX the output format

CVS commit: src/sbin/gpt

2013-11-27 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Thu Nov 28 01:37:14 UTC 2013 Modified Files: src/sbin/gpt: add.c label.c remove.c resize.c Log Message: when calling dehumanize_number() make sure the resulting number is >= 1 To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/sbin/gpt

2013-11-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 27 20:40:48 UTC 2013 Modified Files: src/sbin/gpt: map.c Log Message: CID 1132762: Add error check for negative, to make zero-divide in module impossible. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src

CVS commit: src/sbin/gpt

2013-11-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 27 20:34:34 UTC 2013 Modified Files: src/sbin/gpt: resize.c Log Message: CID 1132764: Bogus test To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sbin/gpt/resize.c Please note that diffs are not public

CVS commit: src/sbin/gpt

2013-11-26 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Wed Nov 27 01:47:53 UTC 2013 Modified Files: src/sbin/gpt: add.c biosboot.c gpt.c gpt.h label.c remove.c resize.c Log Message: Remove FreeBSD specific code as per message to tech-userlevel. To generate a diff of this commit: cv

CVS commit: src/sbin/gpt

2013-11-23 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sat Nov 23 08:59:04 UTC 2013 Modified Files: src/sbin/gpt: gpt.c Log Message: Only skip past _PATH_DEV if it is actually present. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sbin/gpt/gpt.c Please note tha

CVS commit: src/sbin/gpt

2013-11-21 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Fri Nov 22 04:21:02 UTC 2013 Modified Files: src/sbin/gpt: add.c label.c remove.c Log Message: change the "-b blocknr" parameter to accept a "human number" To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sbin/

CVS commit: src/sbin/gpt

2013-11-21 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Fri Nov 22 03:51:06 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 Log Message: bump date To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sbin/gpt/gpt.8 Please note that diffs are not public domain; they are su

CVS commit: src/sbin/gpt

2013-11-21 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Fri Nov 22 03:50:05 UTC 2013 Modified Files: src/sbin/gpt: add.c gpt.8 label.c remove.c resize.c Log Message: In the manpage: - s/-b number/-b blocknr/ - s/-s count/-s sectors/ - s/-p count/-p partitions/ In the program: - s/-b

CVS commit: src/sbin/gpt

2013-11-20 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Nov 20 08:11:36 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 Log Message: shrunk. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sbin/gpt/gpt.8 Please note that diffs are not public domain; they are subject

CVS commit: src/sbin/gpt

2013-11-20 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Wed Nov 20 08:08:47 UTC 2013 Modified Files: src/sbin/gpt: Makefile gpt.8 gpt.c gpt.h map.c map.h Added Files: src/sbin/gpt: resize.c Log Message: Add a resize command. This command was inspired by FreeBSD's gpart(8), bu

CVS commit: src/sbin/gpt

2013-11-19 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Nov 19 22:41:43 UTC 2013 Modified Files: src/sbin/gpt: add.c Log Message: delete an errant where it is obvious what the code is doing To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sbin/gpt/add.c Please

CVS commit: src/sbin/gpt

2013-11-19 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Nov 19 19:10:29 UTC 2013 Modified Files: src/sbin/gpt: add.c Log Message: When setting a label on the new partition, be sure to set the label in the secondary partition table as well. To generate a diff of this commit: cvs

CVS commit: src/sbin/gpt

2013-11-18 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Nov 19 05:07:40 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 Log Message: update synopsis for add subcommand To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sbin/gpt/gpt.8 Please note that diffs are not p

CVS commit: src/sbin/gpt

2013-11-18 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Nov 19 05:03:41 UTC 2013 Modified Files: src/sbin/gpt: add.c gpt.8 gpt.c map.c map.h Log Message: Add two new options to the "add" subcommand: -a alignment -- attempt to align the start and size of the partition -l labe

CVS commit: src/sbin/gpt

2013-11-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 13 21:25:40 UTC 2013 Modified Files: src/sbin/gpt: migrate.c Log Message: CID 1125874: Fix memory leak To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sbin/gpt/migrate.c Please note that diffs are no

CVS commit: src/sbin/gpt

2013-10-26 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sat Oct 26 20:31:23 UTC 2013 Modified Files: src/sbin/gpt: map.c Log Message: cosmetic fix from drochner@ To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sbin/gpt/map.c Please note that diffs are not public dom

CVS commit: src/sbin/gpt

2013-10-23 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Thu Oct 24 06:59:03 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 Log Message: - markup - typo; the label command labels partitions, not remove them - migrate -s isn't applicable to NetBSD - add information about the space require

CVS commit: src/sbin/gpt

2013-10-22 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Oct 22 07:30:20 UTC 2013 Modified Files: src/sbin/gpt: migrate.c Log Message: In a NetBSD disklabel, p_offset is from the beginning of the disk, not the beginning of the NetBSD partition. To generate a diff of this commit:

CVS commit: src/sbin/gpt

2013-10-20 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sun Oct 20 21:13:23 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 Log Message: revert typo fix; teach me to blindly take changes from upstream To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sbin/gpt/gpt.8 Ple

CVS commit: src/sbin/gpt

2013-10-19 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sat Oct 19 09:31:24 UTC 2013 Modified Files: src/sbin/gpt: migrate.c Log Message: Convert FreeBSD numeric FS_s to labels by request. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sbin/gpt/migrate.c Please no

CVS commit: src/sbin/gpt

2013-10-19 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sat Oct 19 08:13:21 UTC 2013 Modified Files: src/sbin/gpt: migrate.c Log Message: - convert FreeBSD FS_ to numbers where they don't match NetBSD - add support for migrating NetBSD disklabel'ed disks (only 7 years late) - use labe

CVS commit: src/sbin/gpt

2013-10-18 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Sat Oct 19 02:07:08 UTC 2013 Modified Files: src/sbin/gpt: show.c Log Message: recognize FreeBSD ZFS partition To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sbin/gpt/show.c Please note that diffs are not pu

<    1   2   3   >