systemctl.cのhalt_now()ではsync()を呼んでいてhalt_now()はhalt_main()から呼ばれててたぶん/sbin/rebootとかのソースコードはsystemctl.cなのでsudo rebootでもsync()は呼んでくれてて、さっき見つけたreboot.cは使われてない感じなのかもわね
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.