Re: [Toybox] shuf works on FreeBSD

2024-04-20 Thread Vidar Karlsen via Toybox
On Sat, Apr 20, 2024 at 11:18:31AM -0500, Rob Landley wrote: > On 4/20/24 03:42, Vidar Karlsen via Toybox wrote: > > toys/other/shuf.c builds and runs on FreeBSD and can be enabled in > > freebsd_miniconfig with CONFIG_SHUF=y. > > > > I can't think of a us

[Toybox] shuf works on FreeBSD

2024-04-20 Thread Vidar Karlsen via Toybox
toys/other/shuf.c builds and runs on FreeBSD and can be enabled in freebsd_miniconfig with CONFIG_SHUF=y. I can't think of a use case for it, but I'm sure there are some. ___ Toybox mailing list Toybox@lists.landley.net

[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

[Toybox] uname no longer broken on FreeBSD?

2024-04-13 Thread Vidar Karlsen via Toybox
Hello, toys/posix/uname.c builds and runs on Freebsd now. I have tested it on 13.2-amd64, 14.0-amd64, 13.2-arm64 and 14.0-arm64. I think it's safe to put CONFIG_UNAME=y back into kconfig/freebsd_miniconfig. ___ Toybox mailing list