Re: [Toybox] df not working on FreeBSD

2024-04-16 Thread Rob Landley
On 4/15/24 04:37, Vidar Karlsen via Toybox wrote: > Hello, > > df throws the following error on FreeBSD: > > root@140amd64_noopts-usrports:/usr/local/toybox/bin # ./df / > df: getmntinfo: Invalid argument > > A little bit of poking around shows that getmntinfo expects the second > argument (the

[Toybox] df not working on FreeBSD

2024-04-15 Thread Vidar Karlsen via Toybox
Hello, df throws the following error on FreeBSD: root@140amd64_noopts-usrports:/usr/local/toybox/bin # ./df / df: getmntinfo: Invalid argument A little bit of poking around shows that getmntinfo expects the second argument (the mode) to be one of these, and not 0: sys/sys/mount.h: #define