On Mon, 2017-08-14 at 16:42 +0200, Denys Vlasenko wrote: [...] > > > minips > > It's just mini-ps. Proliferation of reinvented tools > with slightly different names.
It's not a POSIX-compliant ps implementation. Anyway, initramfs-tools doesn't need it. > > > nuke > > This is "rm -rf -- FILE". Should not be necessary. klibc-utils doesn't implemnt rm, only nuke. busybox could install nuke in the initramfs as a wrapper for rm. > > > resume > > Writes "maj:min:offset" to /sys/power/resume. > Looks like this is support for resume from disk? Correct. > > > run-init > > This tool is doing this: [...] > There is the "switch_root" tool in util-linux which does the > crucial part of this functionality - deleting / remounting / chrooting. > It is in bbox too. initramfs-tools used to use switch_root if possible, but it didn't support the -d (drop capabilities) option. Later on we needed validation of the init filename to support symlinks (e.g. /sbin/init -> /lib/systemd/systemd), so I added and used the -n (dry run) option to run-init. busybox would need to support both of these. > If you want "resume" and "ipconfig" in bbox, I can do that. Go for it. Ben. -- Ben Hutchings Life is what happens to you while you're busy making other plans. - John Lennon
signature.asc
Description: This is a digitally signed message part