Closed julianaito closed 4 years ago
Hi,
This OpenBSD-specific PR contains:
OpenBSD df has no -c option, and has no equivalent. The disk line stays empty.
df
-c
The default case also assumes df is GNU df. Instead, i'm proposing here a more posix-compliant version, that even works against GNU df and awk.
awk
Numbers are slightly different (see captures against GNU df) probably due to different rounding methods. I've limited the use case to OpenBSD anyway.
Before: 6.6 (GENERIC.MP) #356 (no architecture mention)
6.6 (GENERIC.MP) #356
After: 6.6 GENERIC.MP#356 amd64
6.6 GENERIC.MP#356 amd64
Looks good to me.
Hi,
This OpenBSD-specific PR contains:
A disk fix
OpenBSD
df
has no-c
option, and has no equivalent. The disk line stays empty.The default case also assumes
df
is GNUdf
. Instead, i'm proposing here a more posix-compliant version, that even works against GNUdf
andawk
.Numbers are slightly different (see captures against GNU
df
) probably due to different rounding methods. I've limited the use case to OpenBSD anyway.A kernel line improvement
Before:
6.6 (GENERIC.MP) #356
(no architecture mention)After:
6.6 GENERIC.MP#356 amd64