Hi,

I was looking at the implementation of busybox's reboot while trying to
trace a bug that causes my system to hang when rebooting.  I noticed that
the reboot command performs a sync(), then kills processes and reboots,
which could potentially cause a bug where processes write to the filesystem
after the sync before they are killed.  On the other hand, in util-linux's
implementation of reboot, the processes are killed first, then a sync() and
reboot are done.  Is there a reason why BusyBox's implementation is
different, or is it a bug?

Thanks,
Venkat Kuruturi
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to