From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9377 invoked from network); 2 Feb 2021 03:36:13 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 2 Feb 2021 03:36:13 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 7396F9C1DD; Tue, 2 Feb 2021 13:36:08 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 07B1A9B7A0; Tue, 2 Feb 2021 13:35:37 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id AC72C9B7A0; Tue, 2 Feb 2021 13:35:35 +1000 (AEST) Received: from nsstlmta06p.bpe.bigpond.com (nsstlmta06p.bpe.bigpond.com [203.38.21.6]) by minnie.tuhs.org (Postfix) with ESMTPS id AD88C9B799 for ; Tue, 2 Feb 2021 13:35:34 +1000 (AEST) Received: from smtp.telstra.com ([10.10.24.4]) by nsstlfep06p-svc.bpe.nexus.telstra.com.au with ESMTP id <20210202033532.MLUG22421.nsstlfep06p-svc.bpe.nexus.telstra.com.au@smtp.telstra.com> for ; Tue, 2 Feb 2021 14:35:32 +1100 X-RG-Spam: Unknown X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduledrfeelgdehgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfupfevtfgpvffgnffuvffttedpqfgfvfenuceurghilhhouhhtmecugedttdenucenucfjughrpeffhffvufgjkfhffgggtgesthdttddttdervdenucfhrhhomhepffgrvhgvucfjohhrshhfrghllhcuoegurghvvgeshhhorhhsfhgrlhhlrdhorhhgqeenucggtffrrghtthgvrhhnpeekieetjeeuuefhfeeguedvudeifeevudfgvedtffekhfffjeekhfdutdetheethfenucfkphepuddutddrudeguddrudelfedrvdeffeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegrnhgvuhhrihhnrdhhohhrshhfrghllhdrohhrghdpihhnvghtpeduuddtrddugedurdduleefrddvfeefpdhmrghilhhfrhhomhepoegurghvvgeshhhorhhsfhgrlhhlrdhorhhgqedprhgtphhtthhopeeothhuhhhssehtuhhhshdrohhrgheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean X-RG-VS-CLASS: clean Received: from aneurin.horsfall.org (110.141.193.233) by smtp.telstra.com (5.8.420) id 5FE6CD410A6D242C for tuhs@tuhs.org; Tue, 2 Feb 2021 14:35:32 +1100 Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.15.2/8.15.2) with ESMTP id 1123ZVHb080993 for ; Tue, 2 Feb 2021 14:35:31 +1100 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.15.2/8.15.2/Submit) with ESMTP id 1123ZVA3080990 for ; Tue, 2 Feb 2021 14:35:31 +1100 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Tue, 2 Feb 2021 14:35:30 +1100 (EST) From: Dave Horsfall To: The Unix Heritage Society mailing list In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) X-GPG-Public-Key: http://www.horsfall.org/gpgkey.pub X-GPG-Fingerprint: 05B4 FFBC 0218 B438 66E0 587B EF46 7357 EF5E F58B X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Subject: Re: [TUHS] reboot(2) system call X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" 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)