mdev: `-d` and `-f` flags are missing
I am trying to use toybox as system coreutils but mdev is missing these two flags. I tried to use mdevd but it did not work quite well.
and also swapon and swapoff does not have -a flag. -a flag is needed for enabling/disabling swap files/partitions on boot and shutdown without needing to explicitly specify a file/partition
mdev is in pending, which is described in https://github.com/landley/toybox/blob/master/toys/pending/README
I have -a for swapon and swapoff in my todo list, but haven't implemented them yet.
I created mdev for busybox long ago, but haven't used it since devtmpfs was added to the kernel. I'm aware it's still got some hotplug use cases but haven't got test cases for them. I'm hoping to put some together under qemu in a mkroot system...