Should init have the ability to run actions after killing all processes? As it stands now, the "shutdown" action is run just before killing all processes in kill_all_processes(). We'd like to be able to cleanly unmount all filesystems as part of shutting down, so that no fsck is required on the next boot. However, the filesystems can only be unmounted after all processes have been killed.
We could try doing this by having our shutdown action kill all processes before doing the unmount, but this could be tricky. The "kill -1" might kill some process that we don't want killed, such as the shell process that is launched to run the shutdown action. So I think it makes sense to allow for an action to be run after all processes have been killed. Thoughts? Thanks, Doug. _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
