[TUHS] reboot(2) system call
Dave Horsfall
dave at horsfall.org
Tue Feb 2 13:35:30 AEST 2021
On Mon, 1 Feb 2021, Greg A. Woods wrote:
> If waiting was the true reason, then any sane person would have put a
> sleep in there instead so as to avoid any variance in typing (and
> terminal) speed.
I dunno; that's merely what I was taught in the early Unix days and it got
ingrained into me.
Nowadays I just issue "shutdown -[r|h] now" (I'm the only user)...
More Unix lore: sleep(1) could return straight away at one time (the
granularity was 1 second).
-- Dave, who remembers when sleep(3) used to be sleep(2)
More information about the TUHS
mailing list