[systemd-devel] proper way to shutdown/reboot host with systemd

Vasiliy Tolstov v.tolstov at selfip.ru
Tue Aug 26 11:53:34 PDT 2014

2014-08-26 21:56 GMT+04:00 Mantas Mikulėnas <grawity at gmail.com>:
> Which glibc call exactly are you referring to?
> reboot() tells the kernel to shut down (or reboot) immediately – it
> doesn't call init, and it doesn't even as much as sync disks.
> shutdown() has nothing to do with system power state; it closes a
> network socket.

reboot call, for example i can run reboot with LINUX_REBOOT_CMD_POWER_OFF flag

Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru

More information about the systemd-devel mailing list