[BusyBox] inittab shutdown and umount order

Oskar Liljeblad oskar at osk.mine.nu
Sun Nov 2 18:22:19 UTC 2003


I have enabled init and inittab-reading in busybox.
The inittab has this line (among others):

::shutdown:/bin/umount -a -r

I noticed that when the reboot command is run,
first the above command is run, then all processes
are sent SIGTERM then SIGKILL. This results in
umount errors because some file systems are busy.

It can't be right to umount file systems before
processes are shut down, can it?

Please cc me as I am not subscribed.

Regards,

Oskar Liljeblad (oskar at osk.mine.nu)



More information about the busybox mailing list