On Tue, Aug 26, 2014 at 10:17 PM, Jon Stanley <[email protected]> wrote:
> On Tue, Aug 26, 2014 at 3:11 PM, Vasiliy Tolstov <[email protected]> wrote:
>> What problem to run sync before that? I'm not understand. Also i can
>> run firfreeze ioctl to fs and run reboot. To get dirty data writed to
>> disk.
>
> Problem is that none of the shutdown logic of any init system (be it
> systemd, upstart, sysvinit, whatever) is ever called by calling
> reboot(). Any application shutdown which needs to happen doesn't.
> Unmounting of filesystems doesn't happen. And so forth.

Or, in other words, you're unnecessarily reinventing the wheel and the
gearbox and everything else, *and* doing it poorly at that. The whole
point of an init system is to handle these things for you...

-- 
Mantas Mikulėnas <[email protected]>
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to