Re: df(1)s missing -m and -g options

2021-11-08 Thread lists
Sun, 07 Nov 2021 17:35:42 -0700 Todd C. Miller > df honors the BLOCKSIZE environment variable so you can already do > things like: > > $ BLOCKSIZE=1m df > Filesystem 1M-blocks Used Avail Capacity Mounted on > /dev/sd1a1008 175 78218%/ >

Re: df(1)s missing -m and -g options

2021-11-07 Thread Todd C . Miller
df honors the BLOCKSIZE environment variable so you can already do things like: $ BLOCKSIZE=1m df Filesystem 1M-blocks Used Avail Capacity Mounted on /dev/sd1a1008 175 78218%/ /dev/sd1m 124124 29107 8881025%/home

Re: df(1)s missing -m and -g options

2021-11-07 Thread Andrew Hewus Fresh
On Sun, Nov 07, 2021 at 07:46:37PM -0300, Crystal Kolipe wrote: > > df(1) is missing the standard options to display size units in > > Megabytes or Gigabytes. > > alias df_m="df | perl -e '<>; print ("Filesystem1M-blocks Used > Available Capacity Mounted on\n"); while

Re: df(1)s missing -m and -g options

2021-11-07 Thread Crystal Kolipe
> df(1) is missing the standard options to display size units in > Megabytes or Gigabytes. alias df_m="df | perl -e '<>; print ("Filesystem1M-blocks Used Available Capacity Mounted on\n"); while ($i=<>) { $i =~ /^(.*?) +(\d+) +(\d+) +(\d+)(.*)/; printf ("%s % 13d % 10d

Re: df(1)s missing -m and -g options

2021-11-07 Thread Stuart Henderson
On 2021/11/07 16:07, s...@sdf.org wrote: > >Synopsis:df(1) missing -m and -g options > >Category:Userland > >Environment: > System : OpenBSD 7.0 > Details : OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT > 2021 > >

df(1)s missing -m and -g options

2021-11-07 Thread sbrk
>Synopsis: df(1) missing -m and -g options >Category: Userland >Environment: System : OpenBSD 7.0 Details : OpenBSD 7.0 (GENERIC.MP) #232: Thu Sep 30 14:25:29 MDT 2021