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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

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.

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,

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,

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

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

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

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

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

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

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

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

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

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

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()

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

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

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

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

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

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

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

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

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

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: >}

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 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

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: > |

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 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, 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-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

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 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,

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 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

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, 8:46am, "Christos Zoulas" wrote: } } This is a multi-part message in MIME format. } } --_--=_1448804783204230 } 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-29 Thread Christos Zoulas
In article <201511291418.tateiwrt002...@server.cornerstoneservice.ca>, John Nemeth wrote: > > Why did you leave out the call to getdisksize() for when the >ioctls don't exist? Actually, why did you even bother with this >patch, since it is pretty much equivalent to what

Re: CVS commit: src/sbin/gpt

2015-11-29 Thread John Nemeth
On Nov 29, 8:24pm, Christos Zoulas wrote: } On Nov 29, 5:01pm, jnem...@cue.bc.ca (John Nemeth) wrote: } } | The reason I noticed it was due to a build failure. The system } | I was building it on is: } | } | NetBSD msgate 7.0_BETA NetBSD 7.0_BETA (GENERIC.201408231540Z) amd64 } | } |

Re: CVS commit: src/sbin/gpt

2015-11-29 Thread Christos Zoulas
On Nov 29, 5:28pm, jnem...@cue.bc.ca (John Nemeth) wrote: -- Subject: Re: CVS commit: src/sbin/gpt | 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/amd64

Re: CVS commit: src/sbin/gpt

2015-11-29 Thread John Nemeth
On Nov 29, 10:32am, "Christos Zoulas" wrote: } } This is a multi-part message in MIME format. } } --_--=_1448811166297500 } 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-29 Thread John Nemeth
On Nov 29, 4:16pm, Christos Zoulas wrote: } In article <201511291418.tateiwrt002...@server.cornerstoneservice.ca>, } John Nemeth wrote: } > } > Why did you leave out the call to getdisksize() for when the } >ioctls don't exist? Actually, why did you even bother with this

Re: CVS commit: src/sbin/gpt

2015-11-29 Thread Christos Zoulas
On Nov 29, 5:01pm, jnem...@cue.bc.ca (John Nemeth) wrote: -- Subject: Re: CVS commit: src/sbin/gpt | The reason I noticed it was due to a build failure. The system | I was building it on is: | | NetBSD msgate 7.0_BETA NetBSD 7.0_BETA (GENERIC.201408231540Z) amd64 | | (Yes, it needs

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

Re: CVS commit: src/sbin/gpt

2014-10-03 Thread S.P.Zeidler
Hi Jörg, Thus wrote Joerg Sonnenberger (jo...@netbsd.org): 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. It would be nice if it still built on NetBSD, too.

Re: CVS commit: src/sbin/gpt

2013-10-20 Thread David Laight
On Sat, Oct 19, 2013 at 01:19:03AM +, John Nemeth wrote: Module Name: src Committed By: jnemeth Date: Sat Oct 19 01:19:03 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 Log Message: type fix: accommodate. - accomodate. Why? The correct spelling has two 'm's At least in

Re: CVS commit: src/sbin/gpt

2013-10-20 Thread Marc Balmer
Am 20.10.13 20:25, schrieb David Laight: On Sat, Oct 19, 2013 at 01:19:03AM +, John Nemeth wrote: Module Name: src Committed By:jnemeth Date:Sat Oct 19 01:19:03 UTC 2013 Modified Files: src/sbin/gpt: gpt.8 Log Message: type fix: accommodate. - accomodate.

Re: CVS commit: src/sbin/gpt

2013-10-20 Thread John Nemeth
On Oct 20, 7:25pm, David Laight wrote: } Subject: Re: CVS commit: src/sbin/gpt } On Sat, Oct 19, 2013 at 01:19:03AM +, John Nemeth wrote: } Module Name:src } Committed By: jnemeth } Date: Sat Oct 19 01:19:03 UTC 2013 } } Modified Files: } src/sbin/gpt

CVS commit: src/sbin/gpt

2010-02-20 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Feb 20 08:47:10 UTC 2010 Modified Files: src/sbin/gpt: gpt.c Log Message: Initialize device_name before opendisk to avoid unable to open device '(null)' error messages when the opendisk fails. To generate a diff of this