Re: CVS commit: src/sbin/umount

2025-03-31 Thread Reinoud Zandijk
On Sun, Mar 30, 2025 at 12:39:38AM +, David Holland wrote: > On Thu, Mar 27, 2025 at 05:42:03AM +0700, Robert Elz wrote: > > | Because vnds are specifically configured for mounts; the only thing > > | they're useful for is mounting a fs image that lives in a regular > > | file. > > >

Re: CVS commit: src/sbin/umount

2025-03-29 Thread David Holland
On Thu, Mar 27, 2025 at 05:42:03AM +0700, Robert Elz wrote: > | Because vnds are specifically configured for mounts; the only thing > | they're useful for is mounting a fs image that lives in a regular > | file. > > No they're not, they can be used for playing with newfs variants, > fs

Re: CVS commit: src/sbin/umount

2025-03-26 Thread Robert Elz
Date:Wed, 26 Mar 2025 20:46:42 + From:David Holland Message-ID: | Because vnds are specifically configured for mounts; the only thing | they're useful for is mounting a fs image that lives in a regular | file. No they're not, they can be used for playing w

Re: CVS commit: src/sbin/umount

2025-03-26 Thread David Holland
On Thu, Mar 27, 2025 at 02:26:46AM +0700, Robert Elz wrote: > | GitHub/31: Ricardo Branco: Add -d flag to umount to detach vnds, > > Why would we do this for vnd devices, and not cgd, raidframe, ccd, ... ?? Because vnds are specifically configured for mounts; the only thing they're useful fo

Re: CVS commit: src/sbin/umount

2025-03-26 Thread Robert Elz
Date:Tue, 25 Mar 2025 15:01:11 -0400 From:"Christos Zoulas" Message-ID: <20250325190111.e3226f...@cvs.netbsd.org> | GitHub/31: Ricardo Branco: Add -d flag to umount to detach vnds, Why would we do this for vnd devices, and not cgd, raidframe, ccd, ... ?? For that,

Re: CVS commit: src/sbin

2025-02-24 Thread Paul Goyette
On Mon, 24 Feb 2025, Paul Goyette wrote: Do we get a man page for this? :) Oh I see ot now. thnks On Mon, 24 Feb 2025, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Mon Feb 24 13:47:57 UTC 2025 Modified Files: src/sbin: Makefile Added Files

Re: CVS commit: src/sbin

2025-02-24 Thread Paul Goyette
Do we get a man page for this? :) On Mon, 24 Feb 2025, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Mon Feb 24 13:47:57 UTC 2025 Modified Files: src/sbin: Makefile Added Files: src/sbin/efi: Makefile bootvar.c bootvar.h certs.c certs.h de

Re: CVS commit: src/sbin/ifconfig

2024-04-07 Thread Andrius V
Hi, It's likely minor, but I believe these changes are enough to also update the documentation date: Index: ./src/sbin/ifconfig/ifconfig.8 -.Dd November 25, 2022 +.Dd April 8, 2024 Also "If the interface id a lagg(4) pseudo-interface" probably was meant to be "If the interface is a lagg(4)..."

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

2023-07-05 Thread Greg Troxel
Taylor R Campbell writes: > Well, what happened is: > > 1. I was drafting posix_memalign and aligned_alloc for libbsdmalloc in >response to the thread about static program size yesterday, and >carefully reading the specs -- POSIX 2018, C11 -- to make sure I >got all the details right.

Re: CVS commit: src/sbin/newfs

2023-07-05 Thread Taylor R Campbell
> Date: Wed, 05 Jul 2023 07:03:09 -0400 > From: Greg Troxel > References: <20230705105858.33080f...@cvs.netbsd.org> > > "Taylor R Campbell" writes: > > > Revert "newfs(8): Ensure A divides S before aligned_alloc(A, S)." > > > > C17 lifted this restriction. > > I know we have only two toolchain

Re: CVS commit: src/sbin/mount_procfs

2023-04-18 Thread Joseph Koshy
jk> mount_procfs(8): Document the format of the region descriptor jk> lines contained in the 'map' and 'maps' special files. This is to the best of my understanding, based on reading the code and the UVM usenix paper [1]. Corrections welcome. [1]: https://chuck.cranor.org/p/uvm_usenix.pdf Regar

Re: CVS commit: src/sbin/raidctl

2022-06-18 Thread Robert Elz
Date:Sat, 18 Jun 2022 14:45:12 - (UTC) From:chris...@astron.com (Christos Zoulas) Message-ID: | Nevertheless why don't we make the char one unsigned char? I wondered about that possibility, but it was a bigger change than I wanted to make at the time - I didn't

Re: CVS commit: src/sbin/raidctl

2022-06-18 Thread Christos Zoulas
In article <20220614080613.b4570f...@cvs.netbsd.org>, Robert Elz wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: kre >Date: Tue Jun 14 08:06:13 UTC 2022 > >Modified Files: > src/sbin/raidctl: rf_configure.c > >Log Message: >Fix some config file parsing. > >First, and what

Re: CVS commit: src/sbin/cgdconfig

2022-05-17 Thread Robert Elz
Please test it. In HEAD today, and last week, and for probably a long time back into the past, /sbin/cgdconfig has threads, and /rescue/cgdconfig does not. I don"t know when argon2 support was added, or how to use it, but if you do, it should be simple to create an cgd in vnd using one, and then

Re: CVS commit: src/sbin/cgdconfig

2022-05-17 Thread nia
On Mon, May 16, 2022 at 09:10:40AM +, Taylor R Campbell wrote: > Surely `disabling threads' just means cgdconfig can't take advantage > of parallelism to compute the same function in less time, not that > cgdconfig computes a different function or fails to compute the same > function, no? > M

Re: CVS commit: src/sbin/cgdconfig

2022-05-16 Thread Robert Elz
Date:Mon, 16 May 2022 09:10:40 + From:Taylor R Campbell Message-ID: <20220516090946.a3c4660...@jupiter.mumble.net> | > Please re-enable threads. They influence the output hash | > so by disabling threads you stop people from being able | > to decrypt their d

Re: CVS commit: src/sbin/cgdconfig

2022-05-16 Thread Christos Zoulas
> On May 16, 2022, at 5:10 AM, Taylor R Campbell wrote: > >> Date: Mon, 16 May 2022 04:49:22 + >> From: nia >> >> On Sun, May 15, 2022 at 03:53:27PM -0400, Christos Zoulas wrote: >>> Log Message: >>> Build argon2 inline so that crunched programs work. I also disabled threads >>> for now;

Re: CVS commit: src/sbin/cgdconfig

2022-05-16 Thread Taylor R Campbell
> Date: Mon, 16 May 2022 04:49:22 + > From: nia > > On Sun, May 15, 2022 at 03:53:27PM -0400, Christos Zoulas wrote: > > Log Message: > > Build argon2 inline so that crunched programs work. I also disabled threads > > for now; we can put them back if needed. > > Please re-enable threads. The

Re: CVS commit: src/sbin/cgdconfig

2022-05-15 Thread nia
On Sun, May 15, 2022 at 03:53:27PM -0400, Christos Zoulas wrote: > Log Message: > Build argon2 inline so that crunched programs work. I also disabled threads > for now; we can put them back if needed. Please re-enable threads. They influence the output hash so by disabling threads you stop people

Re: CVS commit: src/sbin/cgdconfig

2021-11-29 Thread Joerg Sonnenberger
On Sun, Nov 28, 2021 at 07:42:55AM -0800, Jason Thorpe wrote: > > > > On Nov 27, 2021, at 6:01 PM, Christos Zoulas wrote: > > > > Module Name:src > > Committed By: christos > > Date: Sun Nov 28 02:01:30 UTC 2021 > > > > Modified Files: > > src/sbin/cgdconfig: Ma

Re: CVS commit: src/sbin/cgdconfig

2021-11-28 Thread Christos Zoulas
> On Nov 28, 2021, at 11:57 AM, Roland Illig wrote: > > Am 28.11.2021 um 17:37 schrieb Jason Thorpe: >>> On Nov 28, 2021, at 8:05 AM, Christos Zoulas >>> wrote: >>> >>> 1. which compilation flag should we add -pthread to? CFLAGS or >>> COPTS? What about c++? >> >> GCC defines some preprocessor

Re: CVS commit: src/sbin/cgdconfig

2021-11-28 Thread Roland Illig
Am 28.11.2021 um 17:37 schrieb Jason Thorpe: On Nov 28, 2021, at 8:05 AM, Christos Zoulas wrote: 1. which compilation flag should we add -pthread to? CFLAGS or COPTS? What about c++? GCC defines some preprocessor macros in response to -pthread, so … CPPFLAGS? Perhaps a better choice is to ha

Re: CVS commit: src/sbin/cgdconfig

2021-11-28 Thread Jason Thorpe
> On Nov 28, 2021, at 8:05 AM, Christos Zoulas wrote: > > The change is correct; this is how it is done everywhere else in the tree. > You are right about -pthread doing more than adding -lpthread, but > in that case, the -pthread should be added to CFLAGS/COPTS etc, > not LDADD so that it is

Re: CVS commit: src/sbin/cgdconfig

2021-11-28 Thread Christos Zoulas
The change is correct; this is how it is done everywhere else in the tree. You are right about -pthread doing more than adding -lpthread, but in that case, the -pthread should be added to CFLAGS/COPTS etc, not LDADD so that it is effective during the compilation phase too, not just the link phas

Re: CVS commit: src/sbin/cgdconfig

2021-11-28 Thread Jason Thorpe
> On Nov 27, 2021, at 6:01 PM, Christos Zoulas wrote: > > Module Name: src > Committed By: christos > Date: Sun Nov 28 02:01:30 UTC 2021 > > Modified Files: > src/sbin/cgdconfig: Makefile > > Log Message: > -lpthread to LDADD (fixes lint build) This change is wrong. The -pth

Re: CVS commit: src/sbin/wsconsctl

2021-10-26 Thread Rin Okuyama
Thanks for the quick response! rin On 2021/10/27 2:35, Roland Illig wrote: Am 26.10.2021 um 06:13 schrieb matthew green: Rin Okuyama writes: I don't think this is right thing to be committed. i agree. Thank you for the explanation, I just reverted the commit, resulting in sbin/wsconsctl/M

Re: CVS commit: src/sbin/wsconsctl

2021-10-26 Thread Roland Illig
Am 26.10.2021 um 06:13 schrieb matthew green: > Rin Okuyama writes: >> I don't think this is right thing to be committed. > > i agree. Thank you for the explanation, I just reverted the commit, resulting in sbin/wsconsctl/Makefile 1.16. Roland

re: CVS commit: src/sbin/wsconsctl

2021-10-25 Thread matthew green
Rin Okuyama writes: > I don't think this is right thing to be committed. i agree. > By this way, we can add similar LINTFLAGS hacks every when > kernel API is changed. > > Please keep this kinds of hacks within your local repository. > > > Running lint in non-tools mode picked up the header from

Re: CVS commit: src/sbin/wsconsctl

2021-10-25 Thread Rin Okuyama
I don't think this is right thing to be committed. By this way, we can add similar LINTFLAGS hacks every when kernel API is changed. Please keep this kinds of hacks within your local repository. Thanks, rin On 2021/10/11 22:27, Roland Illig wrote: Module Name:src Committed By: rillig Da

Re: CVS commit: src/sbin/devpubd/hooks

2021-08-08 Thread Robert Elz
Sorry, no idea what happened with that. And thanks Martin for fixing it. kre

Re: CVS commit: src/sbin/devpubd/hooks

2021-08-08 Thread Jared McNeill
The script no longer works: Starting devpubd. /libexec/devpubd-hooks/02-wedgenames: 164: Syntax error: end of file unexpected (expecting "done") Take care, Jared On Thu, 5 Aug 2021, Robert Elz wrote: Module Name:src Committed By: kre Date: Thu Aug 5 12:52:47 UTC 2021 Modif

Re: CVS commit: src/sbin/mount

2020-10-25 Thread nia
On Sat, Oct 24, 2020 at 10:38:04PM +0700, Robert Elz wrote: > | file systems that are used as what spools? > > Ah, youth! > > The old text: > This option is useful for optimizing read performance on file systems > that are used as news spools. > was refering to netnews (usenet, NNTP

Re: CVS commit: src/sbin/mount

2020-10-24 Thread David Holland
On Sat, Oct 24, 2020 at 10:51:34AM +, Nia Alarie wrote: > Modified Files: > src/sbin/mount: mount.8 > > Log Message: > file systems that are used as what spools? Kibozing caches. -- David A. Holland dholl...@netbsd.org

Re: CVS commit: src/sbin/mount

2020-10-24 Thread Robert Elz
Date:Sat, 24 Oct 2020 10:51:34 + From:"Nia Alarie" Message-ID: <20201024105134.6539bf...@cvs.netbsd.org> | file systems that are used as what spools? Ah, youth! The old text: This option is useful for optimizing read performance on file systems

re: CVS commit: src/sbin/nvmectl

2020-09-27 Thread matthew green
> Module Name: src > Committed By: jdolecek > Date: Sun Sep 27 18:17:35 UTC 2020 > > Modified Files: > src/sbin/nvmectl: nvmectl.8 nvmectl.h power.c > > Log Message: > add -s option for 'power' command, this instructs the controller to save > the value so it persists resets/whatnot

re: CVS commit: src/sbin/amrctl

2020-09-06 Thread matthew green
> What's wrong with printf("%s", NULL)? It produces '(null)', and at > least it's visible something is missing there. I think gcc 9.3 is > overly eager for this. our libc "(null)" is beyond standard, and while useful, the current result is UB from a standards POV. it's a nice thing in that broken

Re: CVS commit: src/sbin/amrctl

2020-09-05 Thread Jaromír Doleček
What's wrong with printf("%s", NULL)? It produces '(null)', and at least it's visible something is missing there. I think gcc 9.3 is overly eager for this. Is it correct to just omit the parameter altogether and change output format? Jaromir Le dim. 6 sept. 2020 à 04:41, matthew green a écrit :

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

2019-03-02 Thread Christos Zoulas
> On Mar 1, 2019, at 9:43 PM, Robert Elz wrote: > >Date:Fri, 1 Mar 2019 11:42:11 -0500 >From:"Christos Zoulas" >Message-ID: <20190301164211.de6aaf...@cvs.netbsd.org> > > | Use getfsspecname() to fill the filesystem argument in dumpdates. > > Is there a reason f

Re: CVS commit: src/sbin/dump

2019-03-01 Thread Robert Elz
Date:Fri, 1 Mar 2019 11:42:11 -0500 From:"Christos Zoulas" Message-ID: <20190301164211.de6aaf...@cvs.netbsd.org> | Use getfsspecname() to fill the filesystem argument in dumpdates. Is there a reason for that?It seems like a step backwards to me. If I follow wh

Re: CVS commit: src/sbin/cgdconfig

2018-12-29 Thread Christoph Badura
On Sat, Dec 29, 2018 at 01:33:23PM +, Alexander Nasonov wrote: > Christoph Badura wrote: > > On Thu, Dec 27, 2018 at 10:41:55PM +, Alexander Nasonov wrote: > > > Perhaps the simplest change would be to pass an unresolved (original) > > > name when composing a paramsfile. E.g. > > > > > > /

Re: CVS commit: src/sbin/cgdconfig

2018-12-29 Thread Alexander Nasonov
Christoph Badura wrote: > On Thu, Dec 27, 2018 at 10:41:55PM +, Alexander Nasonov wrote: > > Perhaps the simplest change would be to pass an unresolved (original) > > name when composing a paramsfile. E.g. > > > > /etc/cgd/NAME=mylabel > > /etc/cgd/ROOT.e > > Alas, this will break existing in

Re: CVS commit: src/sbin/cgdconfig

2018-12-29 Thread Christoph Badura
On Thu, Dec 27, 2018 at 10:41:55PM +, Alexander Nasonov wrote: > Perhaps the simplest change would be to pass an unresolved (original) > name when composing a paramsfile. E.g. > > /etc/cgd/NAME=mylabel > /etc/cgd/ROOT.e Alas, this will break existing installations that e.g. use /etc/cgd/dkNN

Re: CVS commit: src/sbin/cgdconfig

2018-12-27 Thread Alexander Nasonov
Christoph Badura wrote: > Using /etc/cgd/ROOT. has the advantage that the cgd will configure > if the root device changes name, thus upholding POLA. > > E.g. moving disks from a controller that attaches sd(4)s to one that > attaches ld(4)s. I believe you can see that when dd'ing an image from > S

Re: CVS commit: src/sbin/cgdconfig

2018-12-27 Thread Christoph Badura
On Thu, Dec 27, 2018 at 09:53:44PM +, Alexander Nasonov wrote: > Alexander Nasonov wrote: > > XXX Default paramsfile for NAME=label is /etc/cgd/dkNN (resolved wedge > > partition) and /etc/cgd/ROOT. for ROOT.. This isn't yet > > documented. IMO, it should be the other way around: /etc/cgd/label

Re: CVS commit: src/sbin/cgdconfig

2018-12-27 Thread Alexander Nasonov
Alexander Nasonov wrote: > XXX Default paramsfile for NAME=label is /etc/cgd/dkNN (resolved wedge > partition) and /etc/cgd/ROOT. for ROOT.. This isn't yet > documented. IMO, it should be the other way around: /etc/cgd/label > for the former and /et/cgd/[root-device] for the latter. This is true f

Re: CVS commit: src/sbin/cgdconfig

2018-07-27 Thread Alexander Nasonov
Robert Elz wrote: > Module Name: src > Committed By: kre > Date: Sat May 5 11:28:44 UTC 2018 > > Modified Files: > src/sbin/cgdconfig: cgdconfig.c > > Log Message: > Check whether the cgd device selected is available to be > configured,that is, not already in use, before requestin

Re: CVS commit: src/sbin/mount_cd9660

2018-06-30 Thread Sevan Janiyan
On 06/29/18 23:24, Izumi Tsutsui wrote: > Nowadays it should be vndconfig(8)? > http://netbsd.gw.com/cgi-bin/man-cgi?vnconfig++NetBSD-current Thanks for the heads up. It should now be fixed. Sevan

Re: CVS commit: src/sbin/mount_cd9660

2018-06-29 Thread Izumi Tsutsui
> Modified Files: > src/sbin/mount_cd9660: mount_cd9660.8 > > Log Message: > Note vnconfig(8) may be of interest, especially when looking to mount an iso > via > loopback. Nowadays it should be vndconfig(8)? http://netbsd.gw.com/cgi-bin/man-cgi?vnconfig++NetBSD-current --- Izumi Tsutsui

Re: CVS commit: src/sbin/cgdconfig

2018-05-09 Thread Alexander Nasonov
matthew green wrote: > "Alexander Nasonov" writes: > > XXX Using memset for wiping isn't a good idea because memset is likely > > optimised away by gcc. This should be revisited. > > use explicit_memset(3)? Yes, we should change memsets of sensitive buffers to explicit_memset but we also should i

re: CVS commit: src/sbin/cgdconfig

2018-05-09 Thread matthew green
"Alexander Nasonov" writes: > Module Name: src > Committed By: alnsn > Date: Wed May 9 18:11:56 UTC 2018 > > Modified Files: > src/sbin/cgdconfig: cgdconfig.8 cgdconfig.c > > Log Message: > Add '-e' option (echo the passphrase) and wipe the passphrase after use. > > XXX Using me

Re: CVS commit: src/sbin/cgdconfig

2018-05-09 Thread Robert Elz
Date:Wed, 9 May 2018 08:59:55 +0100 From:Alexander Nasonov Message-ID: <20180509075955.GA7743@neva> | Adding (argc > 0) check before calling opendisk1 fixes the crash. Thanks - and I see what is wrong now, but (for whatever reason) that did not fail for me, I guess

Re: CVS commit: src/sbin/cgdconfig

2018-05-09 Thread Alexander Nasonov
Alexander Nasonov wrote: > (gdb) b opendisk1 > (gdb) run -p > Starting program: > /home/alnsn/netbsd-current/clean/src/sbin/cgdconfig/obj/cgdconfig -p > > Breakpoint 1, 0x7f7ff78111f6 in opendisk1 () from /lib/libutil.so.7 > (gdb) x/s $rdi > 0x0: # path=NULL Adding (argc > 0) check be

Re: CVS commit: src/sbin/cgdconfig

2018-05-09 Thread Alexander Nasonov
Robert Elz wrote: > Date:Tue, 8 May 2018 19:15:28 +0100 > From:Alexander Nasonov > Message-ID: <20180508180815.GA5990@neva> > > | I think it broke the tool. If you run > | > | cgdconfig -p > | > | it will crash. > > Sorry, I cannot reproduce this, it looks

Re: CVS commit: src/sbin/cgdconfig

2018-05-08 Thread Robert Elz
Date:Tue, 8 May 2018 19:15:28 +0100 From:Alexander Nasonov Message-ID: <20180508180815.GA5990@neva> | I think it broke the tool. If you run | | cgdconfig -p | | it will crash. Sorry, I cannot reproduce this, it looks to work OK to me. Can you tell me exact

Re: CVS commit: src/sbin/cgdconfig

2018-05-08 Thread Robert Elz
Date:Tue, 8 May 2018 19:15:28 +0100 From:Alexander Nasonov Message-ID: <20180508180815.GA5990@neva> | I think it broke the tool. If you run | cgdconfig -p | it will crash. I shall take a look. kre

Re: CVS commit: src/sbin/cgdconfig

2018-05-08 Thread Alexander Nasonov
Robert Elz wrote: > Module Name: src > Committed By: kre > Date: Sat May 5 11:28:44 UTC 2018 > > Modified Files: > src/sbin/cgdconfig: cgdconfig.c > > Log Message: > Check whether the cgd device selected is available to be > configured,that is, not already in use, before requestin

Re: CVS commit: src/sbin/mount_autofs

2018-01-23 Thread Thomas Klausner
Fixed with 'cvs admin'. Not sure why it wasn't ignored though? Thomas On Tue, Jan 23, 2018 at 02:58:46PM +, Thomas Klausner wrote: > Module Name: src > Committed By: wiz > Date: Tue Jan 23 14:58:46 UTC 2018 > > Modified Files: > src/sbin/mount_autofs: mount_autofs.8 > > Log M

Re: CVS commit: src/sbin/mount_qemufwcfg

2017-11-26 Thread Jared McNeill
The addition of a default case to the getopt loop means refuse will not have a chance to process built-in options. On Sat, 25 Nov 2017, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Sun Nov 26 03:06:24 UTC 2017 Modified Files: src/sbin/mount_qemu

Re: CVS commit: src/sbin/resize_ffs

2017-10-01 Thread Taylor R Campbell
> Date: Sat, 30 Sep 2017 14:21:56 -0400 > From: "David H. Gutteridge" > > >Module Name:src > >Committed By: riastradh > >Date: Sat Sep 30 15:25:16 UTC 2017 > > > >Use int64_t for loop index so we don't iterate forever/until trap. > > This causes a build failure because of missing

Re: CVS commit: src/sbin/resize_ffs

2017-09-30 Thread David H. Gutteridge
>Module Name:src >Committed By: riastradh >Date: Sat Sep 30 15:25:16 UTC 2017 > >Modified Files: >src/sbin/resize_ffs: resize_ffs.c > >Log Message: >Use int64_t for loop index so we don't iterate forever/until trap. Hello, This causes a build failure because of missing bra

re: CVS commit: src/sbin/resize_ffs

2017-09-29 Thread matthew green
> Modified Files: > src/sbin/resize_ffs: resize_ffs.c > > Log Message: > Fix the most obvious integer overflow errors which can lead to superblock > corruption. Thanks to riastradh@ nicely done. these two give me pause too, maybe make then size_t: int i; /* Generi

Re: CVS commit: src/sbin/modload

2017-07-18 Thread Thomas Klausner
On Tue, Jul 18, 2017 at 07:50:54PM +, Thomas Klausner wrote: > Module Name: src > Committed By: wiz > Date: Tue Jul 18 19:50:54 UTC 2017 > > Modified Files: > src/sbin/modload: modload.8 > > Log Message: > rgument. Fixed to: Fix Dt argument. Thomas > > > To generate a dif

Re: CVS commit: src/sbin/route

2017-06-16 Thread Ryota Ozaki
On Fri, Jun 16, 2017 at 5:29 PM, Roy Marples wrote: > On 16/06/2017 05:40, Ryota Ozaki wrote: >> Module Name: src >> Committed By: ozaki-r >> Date: Fri Jun 16 04:40:16 UTC 2017 >> >> Modified Files: >> src/sbin/route: route.8 route.c >> >> Log Message: >> Support -c option for rout

Re: CVS commit: src/sbin/route

2017-06-16 Thread Roy Marples
On 16/06/2017 05:40, Ryota Ozaki wrote: > Module Name: src > Committed By: ozaki-r > Date: Fri Jun 16 04:40:16 UTC 2017 > > Modified Files: > src/sbin/route: route.8 route.c > > Log Message: > Support -c option for route monitor > > route command exits if it receives routing mes

Re: CVS commit: src/sbin/fsck_ext2fs

2017-04-21 Thread Kamil Rytarowski
On 21.04.2017 20:08, co...@sdf.org wrote: > On Fri, Apr 21, 2017 at 07:46:27PM +0200, Kamil Rytarowski wrote: >> >> It's a valid code. >> > > Other things fail: > http://releng.netbsd.org/builds/HEAD/201704202350Z/evbarm64-aarch64.build.failed > > /home/source/ab/HEAD/src/bin/ln/ln.c:357:1: error

Re: CVS commit: src/sbin/fsck_ext2fs

2017-04-21 Thread coypu
On Fri, Apr 21, 2017 at 07:46:27PM +0200, Kamil Rytarowski wrote: > > It's a valid code. > Other things fail: http://releng.netbsd.org/builds/HEAD/201704202350Z/evbarm64-aarch64.build.failed /home/source/ab/HEAD/src/bin/ln/ln.c:357:1: error: function 'usage' could be declared with attribute 'no

Re: CVS commit: src/sbin/fsck_ext2fs

2017-04-21 Thread Taylor R Campbell
> Date: Fri, 21 Apr 2017 17:47:22 + > From: co...@sdf.org > > /home/source/ab/HEAD-llvm/src/sbin/fsck_ext2fs/pass1.c:242:39: warning: > comparison of array 'dp->e2di_blocks' equal to a null pointer is always false > [-Wtautological-pointer-compare] > (EXT2_MAXSYMLINKLEN =

Re: CVS commit: src/sbin/fsck_ext2fs

2017-04-21 Thread Kamil Rytarowski
On 21.04.2017 19:47, co...@sdf.org wrote: > On Fri, Apr 21, 2017 at 01:33:05PM -0400, Christos Zoulas wrote: >> e2di_block is an array; can't be NULL, (clang) > > I'm guessing this is from > http://releng.netbsd.org/builds/HEAD-llvm/201704191240Z/amd64.build.failed > > > /home/source/ab/HEAD-llv

Re: CVS commit: src/sbin/fsck_ext2fs

2017-04-21 Thread coypu
On Fri, Apr 21, 2017 at 01:33:05PM -0400, Christos Zoulas wrote: > e2di_block is an array; can't be NULL, (clang) I'm guessing this is from http://releng.netbsd.org/builds/HEAD-llvm/201704191240Z/amd64.build.failed /home/source/ab/HEAD-llvm/src/sbin/fsck_ext2fs/pass1.c:242:39: warning: comparis

Re: CVS commit: src/sbin/ping

2017-03-22 Thread Frank Kardel
The bug seems to also exist in NetBSD-7.1 - maybe a pull-up would be helpful. Best regards, Frank Kardel On 03/17/17 07:52, Ryo Shimizu wrote: Module Name:src Committed By: ryo Date: Fri Mar 17 06:52:59 UTC 2017 Modified Files: src/sbin/ping: ping.c Log Message: Fix

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

2017-02-04 Thread Christos Zoulas
In article <3523.1486165...@andromeda.noi.kre.to>, Robert Elz wrote: >Date:Fri, 3 Feb 2017 16:56:01 -0500 >From:"Christos Zoulas" >Message-ID: <20170203215601.cb806f...@cvs.netbsd.org> > > | Modified Files: > |src/sbin/mount_nfs: getnfsargs.c > | > | Log Mes

Re: CVS commit: src/sbin/mount_nfs

2017-02-04 Thread Tom Ivar Helbekkmo
Robert Elz writes: > Did you intend to keep ... > > + printf("netid=%s\n", netid); > > ? He probably didn't - but updating mount_nfs (and removing this line for tidiness) solves my NFS problem. It now works for all combinations of upd, tcp, ipv4, and ipv6. :) -tih -- Mo

Re: CVS commit: src/sbin/mount_nfs

2017-02-03 Thread Robert Elz
Date:Fri, 3 Feb 2017 16:56:01 -0500 From:"Christos Zoulas" Message-ID: <20170203215601.cb806f...@cvs.netbsd.org> | Modified Files: | src/sbin/mount_nfs: getnfsargs.c | | Log Message: | use the netid value because it could be udp6... Did you intend to k

Re: CVS commit: src/sbin/mount_puffs

2016-11-23 Thread Kamil Rytarowski
On 23.11.2016 15:33, Masatake Daimon wrote: > Module Name: src > Committed By: pho > Date: Wed Nov 23 14:33:29 UTC 2016 > > Modified Files: > src/sbin/mount_puffs: mount_puffs.8 mount_puffs.c > > Log Message: > Major rework on mount_puffs(8) so that it can actually start file serve

Re: CVS commit: src/sbin/mount

2016-10-14 Thread David Holland
On Sun, Oct 09, 2016 at 12:57:50PM -0600, Greg Oster wrote: > > Modified Files: > >src/sbin/mount: mount.c > > > > Log Message: > > change warning message > > > > previously attempting to use mount -t ext2 like myself would result in > > the warning "mount: mount_ext2 not found for /m

Re: CVS commit: src/sbin/mount

2016-10-09 Thread coypu
On Sun, Oct 09, 2016 at 12:57:50PM -0600, Greg Oster wrote: > > mount -t ext2 /dev/sd0e /mnt1 > mount -t ext2 /dev/sd1e /mnt2 > mount -t ext2 /dev/sd2e /mnt3 > mount -t ext2 /dev/sd3e /mnt4 > - > > and getting the message: > > mount: mount_ext2 not found > > Now: which of those mounts faile

Re: CVS commit: src/sbin/mount

2016-10-09 Thread Greg Oster
On Sat, 8 Oct 2016 06:47:59 + "Maya Rashish" wrote: > Module Name: src > Committed By: maya > Date: Sat Oct 8 06:47:59 UTC 2016 > > Modified Files: > src/sbin/mount: mount.c > > Log Message: > change warning message > > previously attempting to use mount -t ext2 like myself

Re: CVS commit: src/sbin/shutdown

2016-09-14 Thread Sevan Janiyan
Hi Robert, On 14/09/2016 01:09, Robert Elz wrote: > Turns out I didn't remember the format as well as I thought, it was > actually ... > > * Ian Johnstone, Sydney, 1977 > * Robert Elz, Melbourne, 1978 > * Peter Lamb, Melbourne, 1980 > * Will

Re: CVS commit: src/sbin/ifconfig

2016-09-14 Thread Joerg Sonnenberger
On Wed, Sep 14, 2016 at 02:17:26PM +0100, Roy Marples wrote: > On 14/09/2016 13:00, Joerg Sonnenberger wrote: > > On Wed, Sep 14, 2016 at 11:46:43AM +, Roy Marples wrote: > >> Module Name: src > >> Committed By: roy > >> Date: Wed Sep 14 11:46:43 UTC 2016 > >> > >> Modif

Re: CVS commit: src/sbin/ifconfig

2016-09-14 Thread Roy Marples
On 14/09/2016 13:00, Joerg Sonnenberger wrote: > On Wed, Sep 14, 2016 at 11:46:43AM +, Roy Marples wrote: >> Module Name: src >> Committed By:roy >> Date:Wed Sep 14 11:46:43 UTC 2016 >> >> Modified Files: >> src/sbin/ifconfig: media.c >> >> Log Message: >> Don't bai

Re: CVS commit: src/sbin/ifconfig

2016-09-14 Thread Joerg Sonnenberger
On Wed, Sep 14, 2016 at 11:46:43AM +, Roy Marples wrote: > Module Name: src > Committed By: roy > Date: Wed Sep 14 11:46:43 UTC 2016 > > Modified Files: > src/sbin/ifconfig: media.c > > Log Message: > Don't bail if SIOGIFMEDIA doesn't return any media lists because we > can sti

Re: CVS commit: src/sbin/shutdown

2016-09-13 Thread Robert Elz
Date:Tue, 13 Sep 2016 15:25:26 +0700 From:Robert Elz Message-ID: <27729.1473755...@andromeda.noi.kre.to> | Shutdown originated in 6th edn (maybe 5th) UNSW (pdp-11) unix, | | At one stage it had (in comments in the source) our names all neatly | lined up ...

Re: CVS commit: src/sbin/shutdown

2016-09-13 Thread Robert Elz
Date:Mon, 12 Sep 2016 06:22:35 + From:"Sevan Janiyan" Message-ID: <20160912062235.6396bf...@cvs.netbsd.org> | Modified Files: | src/sbin/shutdown: shutdown.8 | | Log Message: | shutdown appeared as a standalone utility in 4.2BSD release, in 4BSD its

Re: CVS commit: src/sbin/newfs

2016-09-13 Thread Robert Elz
Date:Tue, 13 Sep 2016 00:50:30 +0100 From:Sevan Janiyan Message-ID: <2d30ad57-2341-3b08-1d78-32b468cd5...@netbsd.org> | I can't seem to find the 4.3BSD-Reno release notes at the moment, but | the convention is interim releases do not count. | There are examples

Re: CVS commit: src/sbin/newfs

2016-09-12 Thread Sevan Janiyan
On 13/09/2016 00:09, matthew green wrote: > that never stopped them being referenced before. infact, the macros > appear know what they mean because it transforms: > >.Bx 4.3 tahoe . > > into: > >The shells file format appeared in 4.3BSD-Tahoe. > > ie, it capitalises and adds the dash.

re: CVS commit: src/sbin/newfs

2016-09-12 Thread matthew green
Sevan Janiyan writes: > On 12/09/2016 22:02, matthew green wrote: > > wouldn't "09/06/89" put it in 4.3RENO ? from bsd-family-tree: > > > > 4.3BSD Reno 1990-06-29 [QCU], [DOC] > > > > > > .mrg. > > Reno & Tahoe along with 4.1{a,b,c} were interim/beta releases. that never stopped t

Re: CVS commit: src/sbin/newfs

2016-09-12 Thread Sevan Janiyan
On 12/09/2016 22:02, matthew green wrote: > wouldn't "09/06/89" put it in 4.3RENO ? from bsd-family-tree: > > 4.3BSD Reno 1990-06-29 [QCU], [DOC] > > > .mrg. Reno & Tahoe along with 4.1{a,b,c} were interim/beta releases.

re: CVS commit: src/sbin/newfs

2016-09-12 Thread matthew green
> Log Message: > Memory File System support appeared in 4.4BSD, implemented as an extension to > newfs(8). So while newfs may have appeared in 4.2BSD, MFS support was later. > https://svnweb.freebsd.org/csrg/sbin/newfs/Makefile?r1=39047&r2=39051 > Adjust HISTORY. > Bump date. wouldn't "09/06/89" p

re: CVS commit: src/sbin/modstat

2016-09-11 Thread matthew green
"Sevan Janiyan" writes: > Module Name: src > Committed By: sevan > Date: Mon Sep 12 00:15:14 UTC 2016 > > Modified Files: > src/sbin/modstat: modstat.8 > > Log Message: > Document author and the version modstat appeared. > Bump date. it used to live in usr.sbin: revision 1.1 date

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

2016-03-19 Thread Christos Zoulas
On Mar 17, 12:03pm, m...@eterna.com.au (matthew green) wrote: -- Subject: re: CVS commit: src/sbin/resize_ffs | "Christos Zoulas" writes: | > Module Name:src | > Committed By: christos | > Date: Thu Mar 17 00:54:53 UTC 2016 | > | > Modifie

re: CVS commit: src/sbin/resize_ffs

2016-03-19 Thread matthew green
"Christos Zoulas" writes: > Module Name: src > Committed By: christos > Date: Thu Mar 17 00:54:53 UTC 2016 > > Modified Files: > src/sbin/resize_ffs: resize_ffs.c > > Log Message: > Appease gcc-5 from phone@ this caused testsuite failures when i ran it, so i didn't commit this. d

  1   2   3   >