IIRC this was made to solve a licensing issue with busybox (toybox being more permissive) and be included with Android. As a fan of copyleft, initially the idea annoyed me, but I eventually came to the conclusion that if it was the only way to include better tools in a particular OS out of the box, it was probably fine.
I recall busybox being often used for gpl enforcement, so I wonder now how widespread toybox is by various companies hoping to avoid that. Do modern Smart TVs and such use it?
I really appreciate Toybox for its clean codebase and permissive license, hopefully it reaches feature parity with Busybox in the future. Version 0.8.13 is long overdue.
As a contrast, in the DOS world the file COMMAND.COM provided both the shell as well as most of the basic file management commands which would be separate files on Unix-like systems (cp, ls, mkdir, mv, rm, rmdir, etc.); and some specialised DOS-compatible systems had the whole basic OS including the kernel, device drivers, and shell along with its builtins in a single flat-loaded binary.
13 comments
[ 4.6 ms ] story [ 31.3 ms ] threadI recall busybox being often used for gpl enforcement, so I wonder now how widespread toybox is by various companies hoping to avoid that. Do modern Smart TVs and such use it?
https://github.com/skeeto/w64devkit
https://frippery.org/busybox/
https://www.google.com/search?udm=2&q=fisher+price+busy+box
Anyways, I might use this in my own distro for fun.
[1]https://lists.busybox.net/pipermail/busybox-cvs/2024-January...
src/uucore/src/lib/features, findutils, diffutils; MIT, Rust: https://github.com/uutils/coreutils/tree/main/src/uucore/src...
https://github.com/uutils/coreutils