3 ms·
Perhaps a closer analog would be halt(8) with the -q (BSD) or -f (Linux) option to avoid calling init(8): https://man.openbsd.org/halt https://man.openbsd.org/
by kevinoid 4y ago
Perhaps a closer analog would be halt(8) with the -q (BSD) or -f (Linux) option to avoid calling init(8):
https://man.openbsd.org/halt https://man.openbsd.org/halt
https://manpages.debian.org/halt https://manpages.debian.org/halt
- mrtesthah 4y agoYes, that's what I was thinking of.
- chasil 4y agoOn my RHEL systems: -f / --force : "Force immediate halt, power-off, or reboot. When specified once, this results in an immediate but clean shutdown by the system manager. When specified twice, this results in an immediate shutdown without contacting the system manager." "...all processes will be killed forcibly and all file systems are unmounted or remounted read-only. This is hence a drastic but relatively safe option to request an immediate reboot. If --force is specified twice for these operations, they will be executed immediately without terminating any processes or unmounting any file systems. Warning: specifying --force twice with any of these operations might result in data loss."