Deutsch   English   Français   Italiano  
<vu17nq$2d0f6$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: Shutdown - 25 Years Later
Date: Sat, 19 Apr 2025 22:22:51 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <vu17nq$2d0f6$2@dont-email.me>
References: <pan$1c8bb$619a6b57$40e9fbf7$742927fd@linux.rocks>
	<eli$2504180033@qaz.wtf> <m6een4Fiuq2U2@mid.individual.net>
	<vtt1pr$2jm59$4@dont-email.me> <biOMP.2417830$t84d.626730@fx11.iad>
	<slrn10084b2.ort.jj@iridium.wf32df>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 20 Apr 2025 00:22:51 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="9cd3b76faf6b628db4a44afb514df930";
	logging-data="2523622"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18NFeTx+k0LT0FSoj65gK8W"
User-Agent: Pan/0.162 (Pokrosvk)
Cancel-Lock: sha1:h4ZOO6woYdp3jgkRyxczWyKnJEU=

On Sat, 19 Apr 2025 21:10:58 -0000 (UTC), Jim Jackson wrote:

> On 2025-04-19, Charlie Gibbs <cgibbs@kltpzyxm.invalid> wrote:
>>
>> On 2025-04-18, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
>>
>>> On Fri, 18 Apr 2025 08:53:05 +0100, Andy Burns wrote:
>>>
>>>> I don't remember if I ever used  sync; sync; halt
>>>> 
>>>> on linux, but certainly on older *nixes
>>>
>>> The need for multiple “sync” calls was a bit of voodoo black magic
>>> leftover from a bug/misfeature in early Unix kernels.
>>>
>>> I don’t think it’s ever been necessary on Linux.
>>
>> The story I heard was that typing "sync" three times takes long enough
>> that the system has time to flush all its buffers before you do
>> anything else.
> 
> But sync shouldn't return until the buffers have flushed.
> So repeats are not needed.

Correct. That was the bug.