On 05/22/2013 01:41 PM, Laurent Bercot wrote:
So, as I expected, killall5 is a heavy monster, scanning the process
list in /proc (so, not portable), and killing them one by one unless
they match some criteria. Absolutely ugly, needs some specific tweaks
to support FUSE, and would exhibit a huge
Isn't that because killall kills by name? It would have to scan the
process list, then.
We're talking about killall5, which does not kill by name. ;)
--
Laurent
___
busybox mailing list
busybox@busybox.net
On 05/22/2013 10:28 PM, Harald Becker wrote:
To grab Laurent's idea: What about a separate shutdown applet in
Busybox:
kill(-1,TERM), sleep, kill(-1,KILL), sleep, umount, sync then
exec into the given remainder of command line? And remove all
special shutdown processing from init process?
Vor