CVS commit: src/sbin/gpt

2025-02-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 24 17:07:04 UTC 2025 Modified Files: src/sbin/gpt: recover.c Log Message: remove getopt call (noted by rillig@) To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sbin/gpt/recover.c Please note that dif

CVS commit: src/sbin/gpt

2025-02-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 24 17:07:04 UTC 2025 Modified Files: src/sbin/gpt: recover.c Log Message: remove getopt call (noted by rillig@) To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sbin/gpt/recover.c Please note that dif

CVS commit: src/sbin/gpt

2025-02-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Feb 23 20:47:19 UTC 2025 Modified Files: src/sbin/gpt: add.c backup.c biosboot.c create.c destroy.c gpt.c gpt.h gpt_uuid.c header.c label.c main.c migrate.c recover.c remove.c resize.c resizedisk.c res

CVS commit: src/sbin/gpt

2025-02-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Feb 23 20:47:19 UTC 2025 Modified Files: src/sbin/gpt: add.c backup.c biosboot.c create.c destroy.c gpt.c gpt.h gpt_uuid.c header.c label.c main.c migrate.c recover.c remove.c resize.c resizedisk.c res

CVS commit: src/sbin/gpt

2025-02-09 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Feb 9 08:48:39 UTC 2025 Modified Files: src/sbin/gpt: gpt.8 Log Message: Minor cleanups. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sbin/gpt/gpt.8 Please note that diffs are not public domain; they

CVS commit: src/sbin/gpt

2025-02-09 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Feb 9 08:48:39 UTC 2025 Modified Files: src/sbin/gpt: gpt.8 Log Message: Minor cleanups. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sbin/gpt/gpt.8 Please note that diffs are not public domain; they

CVS commit: src/sbin/gpt

2025-01-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 12 20:48:20 UTC 2025 Modified Files: src/sbin/gpt: gpt.8 Log Message: Add missing "to" (Anon Ymous) To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sbin/gpt/gpt.8 Please note that diffs are not publi

CVS commit: src/sbin/gpt

2025-01-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 12 20:48:20 UTC 2025 Modified Files: src/sbin/gpt: gpt.8 Log Message: Add missing "to" (Anon Ymous) To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sbin/gpt/gpt.8 Please note that diffs are not publi

CVS commit: src/sbin/gpt

2024-12-18 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Wed Dec 18 20:56:40 UTC 2024 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: s/reproducable/reproducible/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sbin/gpt/gpt_uuid.c Please note that

CVS commit: src/sbin/gpt

2024-12-18 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Wed Dec 18 20:56:40 UTC 2024 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: s/reproducable/reproducible/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sbin/gpt/gpt_uuid.c Please note that

CVS commit: src/sbin/gpt

2024-11-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 4 18:36:17 UTC 2024 Modified Files: src/sbin/gpt: gpt.8 show.c Log Message: Additions to guid printing and an option to print start/size in hex (from Anon Ymous) To generate a diff of this commit: cvs rdiff -u -r1.83

CVS commit: src/sbin/gpt

2024-11-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 4 18:36:17 UTC 2024 Modified Files: src/sbin/gpt: gpt.8 show.c Log Message: Additions to guid printing and an option to print start/size in hex (from Anon Ymous) To generate a diff of this commit: cvs rdiff -u -r1.83

CVS commit: src/sbin/gpt

2024-11-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Nov 2 12:46:49 UTC 2024 Modified Files: src/sbin/gpt: add.c Log Message: PR bin/58806 Never create a partition with a null guid If a new partition entry being added doesn't already have a guid, make one for it. To generate a

CVS commit: src/sbin/gpt

2024-11-02 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Nov 2 12:46:49 UTC 2024 Modified Files: src/sbin/gpt: add.c Log Message: PR bin/58806 Never create a partition with a null guid If a new partition entry being added doesn't already have a guid, make one for it. To generate a

CVS commit: src/sbin/gpt

2024-10-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Oct 20 08:21:30 UTC 2024 Modified Files: src/sbin/gpt: gpt.c gpt_private.h gpt_uuid.c uuid.c Log Message: When generating timestamp based GUIDs for reproducable builds - increment timestamp by 100ns for each partition. - use

CVS commit: src/sbin/gpt

2024-10-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Oct 20 08:21:30 UTC 2024 Modified Files: src/sbin/gpt: gpt.c gpt_private.h gpt_uuid.c uuid.c Log Message: When generating timestamp based GUIDs for reproducable builds - increment timestamp by 100ns for each partition. - use

CVS commit: src/sbin/gpt

2024-09-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Sep 13 11:11:30 UTC 2024 Modified Files: src/sbin/gpt: biosboot.c Log Message: Don't use kernel type daddr_t for disk offsets. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sbin/gpt/biosboot.c Please no

CVS commit: src/sbin/gpt

2024-09-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Sep 13 11:11:30 UTC 2024 Modified Files: src/sbin/gpt: biosboot.c Log Message: Don't use kernel type daddr_t for disk offsets. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sbin/gpt/biosboot.c Please no

CVS commit: src/sbin/gpt

2024-09-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Sep 13 11:07:35 UTC 2024 Modified Files: src/sbin/gpt: show.c Log Message: Use destination variable also to determine size. No binary change, both buffers are of the same size. To generate a diff of this commit: cvs rdiff -

CVS commit: src/sbin/gpt

2024-09-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Sep 13 11:07:35 UTC 2024 Modified Files: src/sbin/gpt: show.c Log Message: Use destination variable also to determine size. No binary change, both buffers are of the same size. To generate a diff of this commit: cvs rdiff -

CVS commit: src/sbin/gpt

2024-08-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 19 17:15:38 UTC 2024 Modified Files: src/sbin/gpt: gpt.8 gpt_uuid.c gpt_uuid.h uuid.c Log Message: Add -U option to specify new UUID Add OpenBSD from Anon Ymous To generate a diff of this commit: cvs rdiff -u -r1.82 -r

CVS commit: src/sbin/gpt

2024-08-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Aug 19 17:15:38 UTC 2024 Modified Files: src/sbin/gpt: gpt.8 gpt_uuid.c gpt_uuid.h uuid.c Log Message: Add -U option to specify new UUID Add OpenBSD from Anon Ymous To generate a diff of this commit: cvs rdiff -u -r1.82 -r

CVS commit: src/sbin/gpt

2024-06-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jun 10 09:17:29 UTC 2024 Modified Files: src/sbin/gpt: gpt.8 gpt.c Log Message: Revert unintended commit. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sbin/gpt/gpt.8 cvs rdiff -u -r1.88 -r1.89 src/sbin/gpt/

CVS commit: src/sbin/gpt

2024-06-10 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Jun 10 09:17:29 UTC 2024 Modified Files: src/sbin/gpt: gpt.8 gpt.c Log Message: Revert unintended commit. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sbin/gpt/gpt.8 cvs rdiff -u -r1.88 -r1.89 src/sbin/gpt/

CVS commit: src/sbin/gpt

2024-02-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 6 20:25:11 UTC 2024 Modified Files: src/sbin/gpt: resizedisk.c Log Message: check the right variable To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sbin/gpt/resizedisk.c Please note that diffs are

CVS commit: src/sbin/gpt

2024-02-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 6 20:25:11 UTC 2024 Modified Files: src/sbin/gpt: resizedisk.c Log Message: check the right variable To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sbin/gpt/resizedisk.c Please note that diffs are

CVS commit: src/sbin/gpt

2023-12-12 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Dec 13 06:51:57 UTC 2023 Modified Files: src/sbin/gpt: gpt.c Log Message: avoid use after free. skip the QUIET check already in gpt_warn(). To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sbin/gpt/gpt.c Plea

CVS commit: src/sbin/gpt

2023-12-12 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Dec 13 06:51:57 UTC 2023 Modified Files: src/sbin/gpt: gpt.c Log Message: avoid use after free. skip the QUIET check already in gpt_warn(). To generate a diff of this commit: cvs rdiff -u -r1.86 -r1.87 src/sbin/gpt/gpt.c Plea

CVS commit: src/sbin/gpt

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 12:45:22 UTC 2023 Modified Files: src/sbin/gpt: gpt.c Log Message: Be verbose about errors. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sbin/gpt/gpt.c Please note that diffs are not public doma

CVS commit: src/sbin/gpt

2023-12-11 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Dec 11 12:45:22 UTC 2023 Modified Files: src/sbin/gpt: gpt.c Log Message: Be verbose about errors. To generate a diff of this commit: cvs rdiff -u -r1.85 -r1.86 src/sbin/gpt/gpt.c Please note that diffs are not public doma

CVS commit: src/sbin/gpt

2023-12-05 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Tue Dec 5 17:23:20 UTC 2023 Modified Files: src/sbin/gpt: map.c Log Message: Fix an incorrect comment. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sbin/gpt/map.c Please note that diffs are not public dom

CVS commit: src/sbin/gpt

2023-12-05 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Tue Dec 5 17:23:20 UTC 2023 Modified Files: src/sbin/gpt: map.c Log Message: Fix an incorrect comment. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sbin/gpt/map.c Please note that diffs are not public dom

CVS commit: src/sbin/gpt

2023-11-06 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Nov 7 00:53:39 UTC 2023 Modified Files: src/sbin/gpt: gpt.8 Log Message: gpt.8: fix grammar in a sentence To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sbin/gpt/gpt.8 Please note that diffs are not

CVS commit: src/sbin/gpt

2023-11-06 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Nov 7 00:53:39 UTC 2023 Modified Files: src/sbin/gpt: gpt.8 Log Message: gpt.8: fix grammar in a sentence To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80 src/sbin/gpt/gpt.8 Please note that diffs are not

CVS commit: src/sbin/gpt

2023-10-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Oct 31 12:09:48 UTC 2023 Modified Files: src/sbin/gpt: gpt.8 Log Message: Apply patch from Thierry Laronde: add missing suffixes for size values and clarify that they are case independant. To generate a diff of this commit:

CVS commit: src/sbin/gpt

2023-10-31 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Oct 31 12:09:48 UTC 2023 Modified Files: src/sbin/gpt: gpt.8 Log Message: Apply patch from Thierry Laronde: add missing suffixes for size values and clarify that they are case independant. To generate a diff of this commit:

Re: CVS commit: src/sbin/gpt

2023-09-27 Thread Robert Elz
Date:Wed, 27 Sep 2023 09:44:10 + From:"Taylor R Campbell" Message-ID: <20230927094410.b9257f...@cvs.netbsd.org> | gpt(8): Make gpt type array and enum match again. Thanks, and apologies for not checking that better - I did test that it recognised the new one pr

CVS commit: src/sbin/gpt

2023-09-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Sep 27 09:44:10 UTC 2023 Modified Files: src/sbin/gpt: gpt_uuid.c gpt_uuid.h Log Message: gpt(8): Make gpt type array and enum match again. Add cross-referencing comment to reduce the probability of these getting out of sy

CVS commit: src/sbin/gpt

2023-09-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Sep 27 09:44:10 UTC 2023 Modified Files: src/sbin/gpt: gpt_uuid.c gpt_uuid.h Log Message: gpt(8): Make gpt type array and enum match again. Add cross-referencing comment to reduce the probability of these getting out of sy

CVS commit: src/sbin/gpt

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 15:55:46 UTC 2023 Modified Files: src/sbin/gpt: gpt.c Log Message: When extracting the attributes (to printable form), avoid simply ignoring any attribute bits which are unknown, print them as a hex value. This avoids "At

CVS commit: src/sbin/gpt

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 15:55:46 UTC 2023 Modified Files: src/sbin/gpt: gpt.c Log Message: When extracting the attributes (to printable form), avoid simply ignoring any attribute bits which are unknown, print them as a hex value. This avoids "At

CVS commit: src/sbin/gpt

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 15:48:31 UTC 2023 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: Recognise Windows Recovery partitions. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sbin/gpt/gpt_uuid.c Please note that diffs

CVS commit: src/sbin/gpt

2023-09-26 Thread Robert Elz
Module Name:src Committed By: kre Date: Tue Sep 26 15:48:31 UTC 2023 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: Recognise Windows Recovery partitions. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sbin/gpt/gpt_uuid.c Please note that diffs

CVS commit: src/sbin/gpt

2023-07-15 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sat Jul 15 21:18:07 UTC 2023 Modified Files: src/sbin/gpt: gpt.8 Log Message: gpt.8: fix some grammar (The BUGS section seems perhaps a little outdated in its warnings of potential incompatible changes.) To generate a diff

CVS commit: src/sbin/gpt

2023-07-15 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sat Jul 15 21:18:07 UTC 2023 Modified Files: src/sbin/gpt: gpt.8 Log Message: gpt.8: fix some grammar (The BUGS section seems perhaps a little outdated in its warnings of potential incompatible changes.) To generate a diff

CVS commit: src/sbin/gpt

2023-07-15 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sat Jul 15 21:11:58 UTC 2023 Modified Files: src/sbin/gpt: gpt.8 Log Message: gpt.8: drop cross-reference to cvs(1) It's no more useful to reference cvs(1) than, say, openssl(1), and should be self-evident, anyway. To gener

CVS commit: src/sbin/gpt

2023-07-15 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Sat Jul 15 21:11:58 UTC 2023 Modified Files: src/sbin/gpt: gpt.8 Log Message: gpt.8: drop cross-reference to cvs(1) It's no more useful to reference cvs(1) than, say, openssl(1), and should be self-evident, anyway. To gener

CVS commit: src/sbin/gpt

2022-11-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Nov 22 00:25:52 UTC 2022 Modified Files: src/sbin/gpt: gpt.c resizedisk.c Log Message: Big-Endian fixes. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sbin/gpt/gpt.c cvs rdiff -u -r1.19 -r1.20 src/sbin/g

CVS commit: src/sbin/gpt

2022-11-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Nov 22 00:25:52 UTC 2022 Modified Files: src/sbin/gpt: gpt.c resizedisk.c Log Message: Big-Endian fixes. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sbin/gpt/gpt.c cvs rdiff -u -r1.19 -r1.20 src/sbin/g

CVS commit: src/sbin/gpt

2022-11-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Nov 20 11:57:02 UTC 2022 Modified Files: src/sbin/gpt: destroy.c gpt.c gpt.h resizedisk.c Log Message: Fix destroying and moving GPT header also for truncated/extended images. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sbin/gpt

2022-11-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Nov 20 11:57:02 UTC 2022 Modified Files: src/sbin/gpt: destroy.c gpt.c gpt.h resizedisk.c Log Message: Fix destroying and moving GPT header also for truncated/extended images. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sbin/gpt

2022-07-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 16 12:57:14 UTC 2022 Modified Files: src/sbin/gpt: gpt.h Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sbin/gpt/gpt.h Please note that diffs are not public domain; they are s

CVS commit: src/sbin/gpt

2022-07-16 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 16 12:57:14 UTC 2022 Modified Files: src/sbin/gpt: gpt.h Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sbin/gpt/gpt.h Please note that diffs are not public domain; they are s

CVS commit: src/sbin/gpt

2022-04-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Apr 7 13:57:44 UTC 2022 Modified Files: src/sbin/gpt: gpt.8 Log Message: Note that biosboot without -A clears the PMBR "active" flag. While here, fix some grammar and make the selection options for biosboot a little clearer. Ri

CVS commit: src/sbin/gpt

2022-04-07 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Apr 7 13:57:44 UTC 2022 Modified Files: src/sbin/gpt: gpt.8 Log Message: Note that biosboot without -A clears the PMBR "active" flag. While here, fix some grammar and make the selection options for biosboot a little clearer. Ri

CVS commit: src/sbin/gpt

2022-04-07 Thread Nia Alarie
Module Name:src Committed By: nia Date: Thu Apr 7 09:06:01 UTC 2022 Modified Files: src/sbin/gpt: gpt.8 Log Message: gpt.8: Clarify that "windows" partition types are also used for FAT32 ("msdos" in NetBSD terms), and UDF partitions. Use the same name as Wikipedia, "Micro

CVS commit: src/sbin/gpt

2022-04-07 Thread Nia Alarie
Module Name:src Committed By: nia Date: Thu Apr 7 09:06:01 UTC 2022 Modified Files: src/sbin/gpt: gpt.8 Log Message: gpt.8: Clarify that "windows" partition types are also used for FAT32 ("msdos" in NetBSD terms), and UDF partitions. Use the same name as Wikipedia, "Micro

CVS commit: src/sbin/gpt

2019-10-16 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Wed Oct 16 19:03:53 UTC 2019 Modified Files: src/sbin/gpt: destroy.c Log Message: Do the 'dkctl makewedges' dance to drop any wedges assoicated the destroyed GPT. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 sr

CVS commit: src/sbin/gpt

2019-10-16 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Wed Oct 16 19:03:53 UTC 2019 Modified Files: src/sbin/gpt: destroy.c Log Message: Do the 'dkctl makewedges' dance to drop any wedges assoicated the destroyed GPT. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 sr

CVS commit: src/sbin/gpt

2019-10-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 11 23:04:52 UTC 2019 Modified Files: src/sbin/gpt: gpt.c Log Message: gpt_uuid_parse does not set errno ... To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sbin/gpt/gpt.c Please note that diffs are n

CVS commit: src/sbin/gpt

2019-10-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 11 23:04:52 UTC 2019 Modified Files: src/sbin/gpt: gpt.c Log Message: gpt_uuid_parse does not set errno ... To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sbin/gpt/gpt.c Please note that diffs are n

CVS commit: src/sbin/gpt

2019-07-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jul 26 07:22:05 UTC 2019 Modified Files: src/sbin/gpt: gpt.8 Log Message: Remove outdated note about sysinst restrictions To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sbin/gpt/gpt.8 Please note that dif

CVS commit: src/sbin/gpt

2019-07-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jul 26 07:22:05 UTC 2019 Modified Files: src/sbin/gpt: gpt.8 Log Message: Remove outdated note about sysinst restrictions To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sbin/gpt/gpt.8 Please note that dif

Re: CVS commit: src/sbin/gpt

2019-06-25 Thread Christos Zoulas
In article <201906250354.x5p3suvz009...@server.cornerstoneservice.ca>, John Nemeth wrote: >On Jun 25, 3:42am, "John Nemeth" wrote: >} >} Module Name: src >} Committed By:jnemeth >} Date:Tue Jun 25 03:42:46 UTC 2019 >} >} Modified Files: >} src/sbin/gpt: gpt.h >} >

CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Jun 25 04:53:41 UTC 2019 Modified Files: src/sbin/gpt: Makefile gpt.8 main.c Added Files: src/sbin/gpt: uuid.c Log Message: Add an "uuid" command to generate a new UUID for a portion. The primary intention is for use

CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Jun 25 04:53:41 UTC 2019 Modified Files: src/sbin/gpt: Makefile gpt.8 main.c Added Files: src/sbin/gpt: uuid.c Log Message: Add an "uuid" command to generate a new UUID for a portion. The primary intention is for use

CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Jun 25 04:25:12 UTC 2019 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: adjust gpt_uuid_generate() to accept gpt==NULL To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sbin/gpt/gpt_uuid.c Please not

CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Jun 25 04:25:12 UTC 2019 Modified Files: src/sbin/gpt: gpt_uuid.c Log Message: adjust gpt_uuid_generate() to accept gpt==NULL To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sbin/gpt/gpt_uuid.c Please not

Re: CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
On Jun 25, 3:42am, "John Nemeth" wrote: } } Module Name: src } Committed By: jnemeth } Date: Tue Jun 25 03:42:46 UTC 2019 } } Modified Files: } src/sbin/gpt: gpt.h } } Log Message: } gpt.c ARGH! Message should have read: Add gpt_change_hdr() similar to gpt_change_ent() fo

CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Jun 25 03:50:18 UTC 2019 Modified Files: src/sbin/gpt: gpt.c Log Message: Add gpt_change_hdr() similar to gpt_change_ent() for changing arbitrary header fields. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Jun 25 03:50:18 UTC 2019 Modified Files: src/sbin/gpt: gpt.c Log Message: Add gpt_change_hdr() similar to gpt_change_ent() for changing arbitrary header fields. To generate a diff of this commit: cvs rdiff -u -r1.79 -r1.80

CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Jun 25 03:42:46 UTC 2019 Modified Files: src/sbin/gpt: gpt.h Log Message: gpt.c To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sbin/gpt/gpt.h Please note that diffs are not public domain; they are subjec

CVS commit: src/sbin/gpt

2019-06-24 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Tue Jun 25 03:42:46 UTC 2019 Modified Files: src/sbin/gpt: gpt.h Log Message: gpt.c To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sbin/gpt/gpt.h Please note that diffs are not public domain; they are subjec

CVS commit: src/sbin/gpt

2019-06-20 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Fri Jun 21 02:14:59 UTC 2019 Modified Files: src/sbin/gpt: gpt.c gpt.h label.c remove.c type.c Log Message: Add a third argument to the "cfn" function that is an argument to gpt_change_ent(). The purpose of the third argument is

CVS commit: src/sbin/gpt

2019-06-20 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Fri Jun 21 02:14:59 UTC 2019 Modified Files: src/sbin/gpt: gpt.c gpt.h label.c remove.c type.c Log Message: Add a third argument to the "cfn" function that is an argument to gpt_change_ent(). The purpose of the third argument is

CVS commit: src/sbin/gpt

2019-06-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Jun 20 10:56:38 UTC 2019 Modified Files: src/sbin/gpt: biosboot.c Log Message: When biosboot is used on an existing wedge and we are switching to the gpt of the parent device, do not pass the size of the wedge to gpt_open, it

CVS commit: src/sbin/gpt

2019-06-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Jun 20 10:56:38 UTC 2019 Modified Files: src/sbin/gpt: biosboot.c Log Message: When biosboot is used on an existing wedge and we are switching to the gpt of the parent device, do not pass the size of the wedge to gpt_open, it

CVS commit: src/sbin/gpt

2019-06-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Jun 20 10:41:58 UTC 2019 Modified Files: src/sbin/gpt: gpt.c Log Message: Do not try to close a NULL gpt. Fixes the core dump part of PR bin/54312 To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sbin/gpt/gp

CVS commit: src/sbin/gpt

2019-06-20 Thread Martin Husemann
Module Name:src Committed By: martin Date: Thu Jun 20 10:41:58 UTC 2019 Modified Files: src/sbin/gpt: gpt.c Log Message: Do not try to close a NULL gpt. Fixes the core dump part of PR bin/54312 To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sbin/gpt/gp

Re: CVS commit: src/sbin/gpt

2017-02-13 Thread David Laight
On Sun, Feb 12, 2017 at 06:20:53PM +, Christos Zoulas wrote: > In article <87bmu7l1k6@free.fr>, > Aymeric Vincent wrote: > >chris...@astron.com (Christos Zoulas) writes: > > > >> Yes, doesn't libcompat provide our getopt()? Or are you trying to compile > >> this standalone? > > > >It does

Re: CVS commit: src/sbin/gpt

2017-02-12 Thread Christos Zoulas
In article <87bmu7l1k6@free.fr>, Aymeric Vincent wrote: >chris...@astron.com (Christos Zoulas) writes: > >> Yes, doesn't libcompat provide our getopt()? Or are you trying to compile >> this standalone? > >It does, but from what I understand, we replace only getopt_long() >unconditionnally and

Re: CVS commit: src/sbin/gpt

2017-02-12 Thread Aymeric Vincent
chris...@astron.com (Christos Zoulas) writes: > Yes, doesn't libcompat provide our getopt()? Or are you trying to compile > this standalone? It does, but from what I understand, we replace only getopt_long() unconditionnally and use the host's getopt() if the optind variable can be linked against

Re: CVS commit: src/sbin/gpt

2017-02-12 Thread Christos Zoulas
In article <20170212165406.79987f...@cvs.netbsd.org>, Aymeric Vincent wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: aymeric >Date: Sun Feb 12 16:54:06 UTC 2017 > >Modified Files: > src/sbin/gpt: main.c > >Log Message: >Make gpt(8) work when compiled on a glibc-based OS.

Re: CVS commit: src/sbin/gpt

2016-06-09 Thread Christos Zoulas
In article <201606091738.u59hcf6c007...@server.cornerstoneservice.ca>, John Nemeth wrote: >On Jun 9, 11:12am, "Christos Zoulas" wrote: >} >} Module Name: src >} Committed By:christos >} Date:Thu Jun 9 15:12:54 UTC 2016 >} >} Modified Files: >} src/sbin/gpt: biosboo

Re: CVS commit: src/sbin/gpt

2016-06-09 Thread John Nemeth
On Jun 9, 11:12am, "Christos Zoulas" wrote: } } Module Name: src } Committed By: christos } Date: Thu Jun 9 15:12:54 UTC 2016 } } Modified Files: } src/sbin/gpt: biosboot.c create.c gpt.8 gpt.c gpt.h migrate.c show.c } } Log Message: } PR/51230: Add the ability to set the active

Re: CVS commit: src/sbin/gpt

2015-12-02 Thread Christos Zoulas
On Dec 3, 6:54am, k...@munnari.oz.au (Robert Elz) wrote: -- Subject: Re: CVS commit: src/sbin/gpt | Date:Wed, 2 Dec 2015 17:41:08 -0500 | From:chris...@zoulas.com (Christos Zoulas) | Message-ID: <20151202224108.9064b17f...@rebar.astron.com> | | | I observ

Re: CVS commit: src/sbin/gpt

2015-12-02 Thread Robert Elz
Date:Wed, 2 Dec 2015 17:41:08 -0500 From:chris...@zoulas.com (Christos Zoulas) Message-ID: <20151202224108.9064b17f...@rebar.astron.com> | I observe data going to stdout because: | static const char *outfile = "/dev/stdout"; Oh yes, OK, sorry - missed that.It

Re: CVS commit: src/sbin/gpt

2015-12-02 Thread Christos Zoulas
On Dec 3, 5:37am, k...@munnari.oz.au (Robert Elz) wrote: -- Subject: Re: CVS commit: src/sbin/gpt | Sure, but "how do write to stdout" wasn't what I asked ... | | gpt backup [-o outfile] | The backup command dumps the MBR or (PMBR) and GPT partition |

Re: CVS commit: src/sbin/gpt

2015-12-02 Thread Robert Elz
Date:Wed, 2 Dec 2015 21:51:58 + (UTC) From:chris...@astron.com (Christos Zoulas) Message-ID: | >Will that modified code still (really) support writing to stdout? | >The man page suggests it should, but I don't see how the code can. | | "/dev/stdout". Sur

Re: CVS commit: src/sbin/gpt

2015-12-02 Thread Christos Zoulas
In article <28433.1449088...@andromeda.noi.kre.to>, Robert Elz wrote: >Date:Wed, 2 Dec 2015 07:36:53 -0500 >From:"Christos Zoulas" >Message-ID: <20151202123653.7531...@cvs.netbsd.org> > > | Modified Files: > |src/sbin/gpt: backup.c gpt.8 restore.c > | > | Lo

Re: CVS commit: src/sbin/gpt

2015-12-02 Thread Robert Elz
Date:Wed, 2 Dec 2015 07:36:53 -0500 From:"Christos Zoulas" Message-ID: <20151202123653.7531...@cvs.netbsd.org> | Modified Files: | src/sbin/gpt: backup.c gpt.8 restore.c | | Log Message: | Allow backup and restore to operate on files. Will that modifie

Re: CVS commit: src/sbin/gpt

2015-12-01 Thread Christos Zoulas
On Dec 1, 7:13am, jnem...@cue.bc.ca (John Nemeth) wrote: -- Subject: Re: CVS commit: src/sbin/gpt | Uh, what a silly question. As you should know, gpt(8) first | appeared in NetBSD 4.0. NetBSD-6 has always supported gpt disks. | My plan was to pullup everything up to the point of

Re: CVS commit: src/sbin/gpt

2015-12-01 Thread John Nemeth
On Nov 30, 8:34am, Christos Zoulas wrote: } On Nov 29, 11:22pm, jnem...@cue.bc.ca (John Nemeth) wrote: } } | Maybe so, but one could just lift the source code from -current } | and plunk it on an older version of NetBSD and it would just work. } | Now, one can not do that. Having to update

Re: CVS commit: src/sbin/gpt

2015-12-01 Thread David Brownlee
On 30 November 2015 at 13:34, Christos Zoulas wrote: > > On Nov 29, 11:22pm, jnem...@cue.bc.ca (John Nemeth) wrote: > -- Subject: Re: CVS commit: src/sbin/gpt > > | I have read the Makefile. I think there is confusion between > | the tool version and the crossbuilt version

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:

Re: CVS commit: src/sbin/gpt

2015-11-30 Thread Christos Zoulas
In article <201512010058.tb10wtzj029...@server.cornerstoneservice.ca>, John Nemeth wrote: > See question in gpt.c (and others). > >} -printf("Partition %d added, use:\n", i + 1); >} -printf("\tdkctl %s addwedge %" PRIu64 " %" PRIu64 >} -" \n", device_arg, map->map_start, map-

Re: CVS commit: src/sbin/gpt

2015-11-30 Thread John Nemeth
On Nov 30, 4:58pm, John Nemeth wrote: } } See question in gpt.c (and others). } } On Nov 30, 2:59pm, "Christos Zoulas" wrote: } } } } This is a multi-part message in MIME format. } } } } --_--=_1448913574208280 } } Content-Disposition: inline } } Content-Transfer-Encoding: 8bit } }

Re: CVS commit: src/sbin/gpt

2015-11-30 Thread John Nemeth
See question in gpt.c (and others). On Nov 30, 2:59pm, "Christos Zoulas" wrote: } } This is a multi-part message in MIME format. } } --_--=_1448913574208280 } Content-Disposition: inline } Content-Transfer-Encoding: 8bit } Content-Type: text/plain; charset="US-ASCII" } } Module Nam

Re: CVS commit: src/sbin/gpt

2015-11-30 Thread Christos Zoulas
On Nov 29, 11:22pm, jnem...@cue.bc.ca (John Nemeth) wrote: -- Subject: Re: CVS commit: src/sbin/gpt | I have read the Makefile. I think there is confusion between | the tool version and the crossbuilt version intended to go in the | release being built. Obviously, the tool version will use

Re: CVS commit: src/sbin/gpt

2015-11-29 Thread John Nemeth
On Nov 29, 10:40pm, Christos Zoulas wrote: } On Nov 29, 5:28pm, jnem...@cue.bc.ca (John Nemeth) wrote: } } | Tools build. Full command line is: } | } | ./build.sh -j 10 -R /usr/local/NetBSD-current/amd64-releasedir -D /usr/local/NetBSD-current/amd64-destdir -T /usr/local/NetBSD-current/a

  1   2   >