On Wed, Aug 21, 2024 at 07:38:29AM -0400, Greg Wooledge wrote:

> Even if that's true, running them all in the same command as Roberto
> shows would not give you any benefit.

In early Unix sync *did* return immediately after scheduling a buffer flush.

> You'd need to physically *type* the command and press Enter three times
> to get any "protection".  And even then, it's really just the extra
> time that it takes to type those commands out.

This is exactly what I was taught to do in the 1980s and the reason was to
cause delay before typing ^p.

> You'd get the same "protection" by simply waiting 10 seconds (or whatever's
> appropriate) after running sync once.

Remembering to wait is much harder than remembering to type sync on 3 lines -
especially late at night.

-- 
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT 
Lecturer.
+44 (0) 787 668 0256  https://www.phcomp.co.uk/
Parliament Hill Computers. Registration Information: 
https://www.phcomp.co.uk/Contact.html
#include <std_disclaimer.h>

Reply via email to