CVS commit: src/sbin/disklabel

2024-05-15 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed May 15 12:47:22 UTC 2024 Modified Files: src/sbin/disklabel: main.c Log Message: Fix an old bug in NATIVELABEL_ONLY case in PR/50729 by me. (sigh) 'disklabel -r -w' writes a disklabel at a wrong sector in NATIVELABEL_ONLY &&

CVS commit: src/sbin/disklabel

2024-05-15 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Wed May 15 12:47:22 UTC 2024 Modified Files: src/sbin/disklabel: main.c Log Message: Fix an old bug in NATIVELABEL_ONLY case in PR/50729 by me. (sigh) 'disklabel -r -w' writes a disklabel at a wrong sector in NATIVELABEL_ONLY &&

CVS commit: src/sbin/disklabel

2021-11-03 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Nov 3 14:25:39 UTC 2021 Modified Files: src/sbin/disklabel: interact.c main.c Log Message: disklabel(8): convert malloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sbin/disklabel/inte

CVS commit: src/sbin/disklabel

2021-11-03 Thread Nia Alarie
Module Name:src Committed By: nia Date: Wed Nov 3 14:25:39 UTC 2021 Modified Files: src/sbin/disklabel: interact.c main.c Log Message: disklabel(8): convert malloc(x * y) to reallocarr To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sbin/disklabel/inte

CVS commit: src/sbin/disklabel

2019-08-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Aug 3 04:21:37 UTC 2019 Modified Files: src/sbin/disklabel: main.c Log Message: Fix a trivial wrong comment. x68k's arch is not m68010. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sbin/disklabel/main.c

CVS commit: src/sbin/disklabel

2019-08-02 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Aug 3 04:21:37 UTC 2019 Modified Files: src/sbin/disklabel: main.c Log Message: Fix a trivial wrong comment. x68k's arch is not m68010. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sbin/disklabel/main.c

CVS commit: src/sbin/disklabel

2019-07-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jul 3 07:05:27 UTC 2019 Modified Files: src/sbin/disklabel: main.c Log Message: Fix NATIVELABEL_ONLY build. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sbin/disklabel/main.c Please note that diffs ar

CVS commit: src/sbin/disklabel

2019-07-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Wed Jul 3 07:05:27 UTC 2019 Modified Files: src/sbin/disklabel: main.c Log Message: Fix NATIVELABEL_ONLY build. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/sbin/disklabel/main.c Please note that diffs ar

CVS commit: src/sbin/disklabel

2019-07-02 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Jul 2 16:47:20 UTC 2019 Modified Files: src/sbin/disklabel: disklabel.8 Log Message: Sort and unify a bit. Add more macros. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sbin/disklabel/disklabel.8 Please n

CVS commit: src/sbin/disklabel

2019-07-02 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Jul 2 16:47:20 UTC 2019 Modified Files: src/sbin/disklabel: disklabel.8 Log Message: Sort and unify a bit. Add more macros. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sbin/disklabel/disklabel.8 Please n

CVS commit: src/sbin/disklabel

2019-07-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jul 2 16:23:48 UTC 2019 Modified Files: src/sbin/disklabel: disklabel.8 main.c Log Message: Add options to define labelsector and -offset and number of slices. Make options to chose alternate label position for systems using

CVS commit: src/sbin/disklabel

2019-07-02 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Tue Jul 2 16:23:48 UTC 2019 Modified Files: src/sbin/disklabel: disklabel.8 main.c Log Message: Add options to define labelsector and -offset and number of slices. Make options to chose alternate label position for systems using

Re: CVS commit: src/sbin/disklabel

2015-07-18 Thread Izumi Tsutsui
htodd@ wrote: > Module Name: src > Committed By: htodd > Date: Sat Jul 18 06:00:46 UTC 2015 > > Modified Files: > src/sbin/disklabel: bswap.c > > Log Message: > Fix build. Ah, I tested it only in src/tools/disklabel. Thanks. --- Izumi Tsutsui

Re: CVS commit: src/sbin/disklabel

2013-05-15 Thread Christos Zoulas
On May 15, 9:48am, tsugutomo.en...@jp.sony.com (tsugutomo.en...@jp.sony.com) wrote: -- Subject: Re: CVS commit: src/sbin/disklabel | Christos Zoulas writes: | | > Are you worried about efficiency here? Yes, you can fix it differently | > by checking if LABEL_OFFSET fits. | | I don&#

Re: CVS commit: src/sbin/disklabel

2013-05-15 Thread David Laight
On Wed, May 15, 2013 at 09:48:03AM +0900, tsugutomo.en...@jp.sony.com wrote: > Christos Zoulas writes: > > > Are you worried about efficiency here? Yes, you can fix it differently > > by checking if LABEL_OFFSET fits. > > I don't worry about efficiency. > > I've just noticed build failure on i

Re: CVS commit: src/sbin/disklabel

2013-05-14 Thread tsugutomo . enami
Christos Zoulas writes: > Are you worried about efficiency here? Yes, you can fix it differently > by checking if LABEL_OFFSET fits. I don't worry about efficiency. I've just noticed build failure on i386, and wondering what was wrong. I thought it would be better if warned when LABEL_OFFSET

Re: CVS commit: src/sbin/disklabel

2013-05-14 Thread Christos Zoulas
In article , wrote: >> Modified Files: >> src/sbin/disklabel: main.c >> >> Log Message: >> CVE 1020933: Prevent integer overflow by using wider type >> >> To generate a diff of this commit: >> cvs rdiff -u -r1.33 -r1.34 src/sbin/disklabel/main.c > >Since the variable `offset' in find_la

Re: CVS commit: src/sbin/disklabel

2013-05-13 Thread tsugutomo . enami
> Modified Files: > src/sbin/disklabel: main.c > > Log Message: > CVE 1020933: Prevent integer overflow by using wider type > > To generate a diff of this commit: > cvs rdiff -u -r1.33 -r1.34 src/sbin/disklabel/main.c Since the variable `offset' in find_label() is used to express an offs

Re: CVS commit: src/sbin/disklabel

2011-07-26 Thread David Laight
On Tue, Jul 26, 2011 at 09:56:24AM +0200, Alan Barrett wrote: > On Mon, 25 Jul 2011, Christos Zoulas wrote: > >Modified Files: > > src/sbin/disklabel: disklabel.8 > > > >Log Message: > >mention that we don't handle more than 2TB disks/partitions. > > I think the limit's actually (2**32 - 1) se

Re: CVS commit: src/sbin/disklabel

2011-07-26 Thread Alan Barrett
On Mon, 25 Jul 2011, Christos Zoulas wrote: Modified Files: src/sbin/disklabel: disklabel.8 Log Message: mention that we don't handle more than 2TB disks/partitions. I think the limit's actually (2**32 - 1) sectors. With 512-byte sectors, that's one sector less than 2TB. --apb (Alan

Re: CVS commit: src/sbin/disklabel

2011-01-10 Thread Alan Barrett
On Sun, 09 Jan 2011, Izumi Tsutsui wrote: > > Modified Files: > > src/sbin/disklabel: interact.c main.c printlabel.c > > > > Log Message: > > Change printf formats to match the data type of the values being > > printed. There's now a lot of PRIu16 and PRIu32, some PRIu8, some > > SCNu32, and

Re: CVS commit: src/sbin/disklabel

2011-01-08 Thread Izumi Tsutsui
> Modified Files: > src/sbin/disklabel: interact.c main.c printlabel.c > > Log Message: > Change printf formats to match the data type of the values being > printed. There's now a lot of PRIu16 and PRIu32, some PRIu8, some > SCNu32, and a few cases where %u and %d were reversed. Probably y