Re: IPv6 Support for umb(4)

2020-01-29 Thread Job Snijders
On Tue, Jan 28, 2020 at 03:03:47PM +0100, Gerhard Roth wrote: > this patch adds IPv6 support to umb(4). OK job@ Tested with 'telnet -6 towel.blinkenlights.nl' on Fibocom L831-EAU on IIJ MIO's network (Japan), with 'inet6 autoconf' in /etc/hostname.umb0 :-) job@vurt ~$ doas ifconfig umb0 umb0:

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread Andreas Kusalananda Kähäri
On Wed, Jan 29, 2020 at 06:38:31PM +0100, Ingo Schwarze wrote: > Hi Andreas, > > Andreas Kusalananda wrote on Wed, Jan 29, 2020 at 06:09:54PM +0100: > > On Wed, Jan 29, 2020 at 05:48:44PM +0100, Ingo Schwarze wrote: > > >> +.Dl du -sh * .??* | sort -h > > > Why the ".??*"? That would miss

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread Ingo Schwarze
Hi Andreas, Andreas Kusalananda wrote on Wed, Jan 29, 2020 at 06:09:54PM +0100: > On Wed, Jan 29, 2020 at 05:48:44PM +0100, Ingo Schwarze wrote: >> +.Dl du -sh * .??* | sort -h > Why the ".??*"? That would miss single (well, double) letter hidden > directory names like .a, .b etc. True, but

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread Andreas Kusalananda Kähäri
On Wed, Jan 29, 2020 at 05:48:44PM +0100, Ingo Schwarze wrote: > Hi Jason, > > Jason McIntyre wrote on Wed, Jan 29, 2020 at 04:26:42PM +: > > > i don;t think it would be such a bad thing for du to have an example or > > two, so i'm ok with this. > > > > so sth like: > > > > Display a

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread Jason McIntyre
On Wed, Jan 29, 2020 at 05:48:44PM +0100, Ingo Schwarze wrote: > Hi Jason, > > Jason McIntyre wrote on Wed, Jan 29, 2020 at 04:26:42PM +: > > > i don;t think it would be such a bad thing for du to have an example or > > two, so i'm ok with this. > > > > so sth like: > > > > Display a

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread Jason McIntyre
On Wed, Jan 29, 2020 at 10:46:28AM -0600, Scott Cheloha wrote: > > On Jan 29, 2020, at 10:26 AM, Jason McIntyre wrote: > > > > On Wed, Jan 29, 2020 at 11:12:56AM -0500, David Goerger wrote: > >> Monday, 20200127 18:29-0500, Daniel Jakots wrote: > >>> Can't you achieve what you want with `du -sh

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread Ingo Schwarze
Hi Jason, Jason McIntyre wrote on Wed, Jan 29, 2020 at 04:26:42PM +: > i don;t think it would be such a bad thing for du to have an example or > two, so i'm ok with this. > > so sth like: > > Display a summary of files and folders in the current directory, > sorted by size: >

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread Scott Cheloha
> On Jan 29, 2020, at 10:26 AM, Jason McIntyre wrote: > > On Wed, Jan 29, 2020 at 11:12:56AM -0500, David Goerger wrote: >> Monday, 20200127 18:29-0500, Daniel Jakots wrote: >>> Can't you achieve what you want with `du -sh * | sort -h`? du(1)'s >>> -h options will automatically select the best

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread Jason McIntyre
On Wed, Jan 29, 2020 at 11:12:56AM -0500, David Goerger wrote: > Monday, 20200127 18:29-0500, Daniel Jakots wrote: > > Can't you achieve what you want with `du -sh * | sort -h`? du(1)'s > > -h options will automatically select the best suffix and sort(1)'s > > -h will sort first using the suffix

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread David Goerger
Monday, 20200127 18:29-0500, Daniel Jakots wrote: > Can't you achieve what you want with `du -sh * | sort -h`? du(1)'s > -h options will automatically select the best suffix and sort(1)'s > -h will sort first using the suffix then the numerical value. Thanks! I didn't know about "sort -h". That

Re: ieee80211_node diff

2020-01-29 Thread Mikhail
OK? Anyone? On Thu, Jan 23, 2020 at 6:08 PM Mikhail wrote: > > There is no way ic_bgscan_fail can be less then zero, since it's unsigned[1]. > > Sorry for the attachment - web browser mail in act. > > [1] - http://bxr.su/OpenBSD/sys/net80211/ieee80211_var.h#251

gpio(4) support for APU2

2020-01-29 Thread Nathanael Rensen
The diff below adds gpio(4) support to wbsio(4) for Nuvoton NCT5104D (pcengines APU2). It is based on Matt Dainty's diff posted to this list in November 2018: https://marc.info/?l=openbsd-tech=154134941027009=2 A key difference from Matt Dainty's original diff is the use of config_search()

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread Lauri Tirkkonen
On Wed, Jan 29 2020 12:25:34 +0100, Sebastian Benoit wrote: > Lauri Tirkkonen(la...@hacktheplanet.fi) on 2020.01.29 01:31:56 +0200: > > On Tue, Jan 28 2020 18:03:19 +0100, Florian Obser wrote: > > > On Tue, Jan 28, 2020 at 09:58:40AM -0700, Todd C. Miller wrote: > > > > On Mon, 27 Jan 2020

Re: Teach du(1) the -m flag, disk usage in megabytes

2020-01-29 Thread Sebastian Benoit
Lauri Tirkkonen(la...@hacktheplanet.fi) on 2020.01.29 01:31:56 +0200: > On Tue, Jan 28 2020 18:03:19 +0100, Florian Obser wrote: > > On Tue, Jan 28, 2020 at 09:58:40AM -0700, Todd C. Miller wrote: > > > On Mon, 27 Jan 2020 18:29:39 -0500, Daniel Jakots wrote: > > > > > > > Can't you achieve what