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

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

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

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

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, 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 } | } | (Ye

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

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 } >patch, since it

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 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 was there before, >mi

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

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 NetB

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

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

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