Re: installer: arm64: better disk variable handling

2023-04-05 Thread Andrew Hewus Fresh
On Sat, Mar 25, 2023 at 07:13:13PM +, Klemens Nanni wrote: > On Sat, Mar 25, 2023 at 07:02:24PM +, Klemens Nanni wrote: > > Call the function argument `_disk' and construct full device paths where > > needed, so that other code can reuse the mnemonic variable. > > > > This matches

Re: [installer] default answer to "Is the disk partition already mounted?"

2023-04-05 Thread Andrew Hewus Fresh
On Wed, Apr 05, 2023 at 11:11:12AM +, Klemens Nanni wrote: > 04.04.2023 19:58, Mikhail пишет: > > In conversation with Klemens (kn@) new iteration has been born, it > > follows to what Omar (op@) has suggested - we're not trying to change > > the default answer for all cases, since no one

Re: route.8: markup route flags to get tags

2023-04-05 Thread Klemens Nanni
05.04.2023 21:42, Jason McIntyre пишет: > i had originally thought to suggest Li (although i hate it). mdoc(7) .Dv says ", constant symbols," which fits well. > anyway, when the tags stuff just works, i don;t have any issues. but > then when we start adding markup just to get it working, it >

Re: route.8: markup route flags to get tags

2023-04-05 Thread Jason McIntyre
On Wed, Apr 05, 2023 at 10:20:40PM +0200, Ingo Schwarze wrote: > Hi Klemens and Jason, > hi. > Jason McIntyre wrote on Wed, Apr 05, 2023 at 07:12:05PM +0100: > > On Wed, Apr 05, 2023 at 01:07:18PM +, Klemens Nanni wrote: > > >> To find out what a particular letter means, you must arrive at

Re: route.8: markup route flags to get tags

2023-04-05 Thread Ingo Schwarze
Hi Klemens and Jason, Jason McIntyre wrote on Wed, Apr 05, 2023 at 07:12:05PM +0100: > On Wed, Apr 05, 2023 at 01:07:18PM +, Klemens Nanni wrote: >> To find out what a particular letter means, you must arrive at this list >> why generic means because the first column has no markup. >> >> As

arp nd6 queue length sysctl

2023-04-05 Thread Alexander Bluhm
Hi, ARP has a sysctl to show the number of packets waiting for the arp response. ND6 should have the same to reduce places where mbufs can hide within the kernel. Atomic operations operate on unsigned int. Make the type of total hold queue length consistent. Use atomic load to read the value

Re: route.8: markup route flags to get tags

2023-04-05 Thread Klemens Nanni
05.04.2023 18:12, Jason McIntyre пишет: > tag=h? is that a typo? Yes. > anyway, i personally am not convinced that anyone would do this. > i mean, it is easier just to type "man route" then page down. I use tags extensively and think they're both easier and faster if you already know what to

Re: route.8: markup route flags to get tags

2023-04-05 Thread Jason McIntyre
On Wed, Apr 05, 2023 at 01:07:18PM +, Klemens Nanni wrote: > To find out what a particular letter means, you must arrive at this list > why generic means because the first column has no markup. > > As mdoc(7) 'constant symbol' the lookup is much quicker, e.g. > man -Otag=h route > makes

route.8: markup route flags to get tags

2023-04-05 Thread Klemens Nanni
To find out what a particular letter means, you must arrive at this list why generic means because the first column has no markup. As mdoc(7) 'constant symbol' the lookup is much quicker, e.g. man -Otag=h route makes this the first line in the pager: MRTF_MODIFIED

Re: fill out more rk356x dwqe phy-mode handling

2023-04-05 Thread Mark Kettenis
> Date: Wed, 05 Apr 2023 09:09:22 +0200 > From: Mark Kettenis > > > Date: Wed, 5 Apr 2023 16:09:21 +1000 > > From: David Gwynne > > > > On Tue, Apr 04, 2023 at 10:59:56PM +1000, David Gwynne wrote: > > > > > > > > > > On 4 Apr 2023, at 20:37, Mark Kettenis wrote: > > > > > > > >> Date:

Re: [installer] default answer to "Is the disk partition already mounted?"

2023-04-05 Thread Klemens Nanni
04.04.2023 19:58, Mikhail пишет: > In conversation with Klemens (kn@) new iteration has been born, it > follows to what Omar (op@) has suggested - we're not trying to change > the default answer for all cases, since no one complained for all these > years, but just flip default for installation

Re: acpithinkpad: don't setup non-existent temp sensors

2023-04-05 Thread Klemens Nanni
On Tue, Apr 04, 2023 at 10:45:53PM -0500, joshua stein wrote: > acpithinkpad sets up a hard-coded number of temperature sensors and > doesn't check the result of aml_evalinteger when polling, so for all > invalid sensors it ends up reporting the value of the previous > successful sensor check

MALLOC_STATS: dump internal state and leak info via utrace(2)

2023-04-05 Thread Otto Moerbeek
Hi, This is work in progress. I have to think if the flags to kdump I'm introducing should be two or a single one. Currently, malloc.c can be compiled with MALLOC_STATS defined. If run with option D it dumps its state to a malloc.out file at exit. This state can be used to find leaks amongst

Re: bgpd allow service name for ports

2023-04-05 Thread Theo Buehler
On Wed, Apr 05, 2023 at 10:09:46AM +0200, Claudio Jeker wrote: > Allow to use service names like 'bgp' for port definitions. > Adapted from pfctl/parse.y. [...] > +static int > +getservice(char *n) > +{ > + struct servent *s; > + > + s = getservbyname(n, "tcp"); > + if (s == NULL) >

bgpd allow service name for ports

2023-04-05 Thread Claudio Jeker
Allow to use service names like 'bgp' for port definitions. Adapted from pfctl/parse.y. -- :wq Claudio ? obj Index: parse.y === RCS file: /cvs/src/usr.sbin/bgpd/parse.y,v retrieving revision 1.445 diff -u -p -r1.445 parse.y ---

bgpd more parse.y cleanup

2023-04-05 Thread Claudio Jeker
Rename family rule to af (more in line with pfctl parse.y). -- :wq Claudio Index: parse.y === RCS file: /cvs/src/usr.sbin/bgpd/parse.y,v retrieving revision 1.443 diff -u -p -r1.443 parse.y --- parse.y 3 Apr 2023 10:48:00 -

Re: fill out more rk356x dwqe phy-mode handling

2023-04-05 Thread Mark Kettenis
> Date: Wed, 5 Apr 2023 16:09:21 +1000 > From: David Gwynne > > On Tue, Apr 04, 2023 at 10:59:56PM +1000, David Gwynne wrote: > > > > > > > On 4 Apr 2023, at 20:37, Mark Kettenis wrote: > > > > > >> Date: Tue, 4 Apr 2023 09:49:40 +1000 > > >> From: David Gwynne > > >> > > >> i did this

Re: fill out more rk356x dwqe phy-mode handling

2023-04-05 Thread David Gwynne
On Tue, Apr 04, 2023 at 10:59:56PM +1000, David Gwynne wrote: > > > > On 4 Apr 2023, at 20:37, Mark Kettenis wrote: > > > >> Date: Tue, 4 Apr 2023 09:49:40 +1000 > >> From: David Gwynne > >> > >> i did this when i was trying to figure out why TX wasn't working on the > >> nanopi r5s before