Reboot implemention

Cathey, Jim jcathey at ciena.com
Tue Nov 14 01:19:48 UTC 2017


>Is there a reason why BusyBox's [reboot] implementation is different, or is it a bug?
None of the above?  A sync(2) call, wherever found, is not the be-all and end-all of filesystem cleanup.  It just gets the fs cache-cleaning party started.  More than one is just fine, even zero is fine.  It's mostly just trying to help provide data-loss insurance against an unlikely kernel crash during the shutdown phase.  The final fs cleanup, and the only one that really counts, is what the kernel does after init(8) exits.

-- Jim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20171114/187dd876/attachment.html>


More information about the busybox mailing list