Re: sleep(1) vs. sync(1) twice before umount(8)

2022-07-10 Thread Thomas Schmitt
Hi, fxkl4...@protonmail.com wrote: > > The only reason I ever got was that the second sync was a time delay The web has it that the time to toggle s-y-n-c-Enter would be enough to have the first sync succeed. Another story is that some ancient tape drives (or drivers) rewound the tape if a

Re: sleep(1) vs. sync(1) twice before umount(8)

2022-07-10 Thread Steve McIntyre
David wrote: >On 7/10/22 05:55, fxkl4...@protonmail.com wrote: > > I'm just flapping my gums > > As a systems administrator for UNIX systems I wrote more than a few >scripts > > Many time I found it necessary to put a sleep between operations > >+1 > > >The hard part is deciding what the NUMBER

Re: sleep(1) vs. sync(1) twice before umount(8)

2022-07-10 Thread Erwan David
Le 10/07/2022 à 19:46, fxkl4...@protonmail.com a écrit : On Sun, 10 Jul 2022, David Christensen wrote: On 7/10/22 09:57, fxkl4...@protonmail.com wrote: On Sun, 10 Jul 2022, David Christensen wrote: On 7/10/22 05:55, fxkl4...@protonmail.com wrote: Several decades ago I was taught to type

Re: sleep(1) vs. sync(1) twice before umount(8)

2022-07-10 Thread fxkl47BF
On Sun, 10 Jul 2022, David Christensen wrote: > On 7/10/22 09:57, fxkl4...@protonmail.com wrote: >> On Sun, 10 Jul 2022, David Christensen wrote: >>> On 7/10/22 05:55, fxkl4...@protonmail.com wrote: > Several decades ago I was taught to type sync and then type sync >>> again before

Re: sleep(1) vs. sync(1) twice before umount(8)

2022-07-10 Thread David Christensen
On 7/10/22 09:57, fxkl4...@protonmail.com wrote: On Sun, 10 Jul 2022, David Christensen wrote: On 7/10/22 05:55, fxkl4...@protonmail.com wrote: Several decades ago I was taught to type sync and then type sync again before unmounting a drive The only reason I ever got was that the second

Re: sleep(1) vs. sync(1) twice before umount(8)

2022-07-10 Thread fxkl47BF
On Sun, 10 Jul 2022, David Christensen wrote: > On 7/10/22 05:55, fxkl4...@protonmail.com wrote: > > I'm just flapping my gums > > As a systems administrator for UNIX systems I wrote more than a few > scripts > > Many time I found it necessary to put a sleep between operations > > +1 > > > The

sleep(1) vs. sync(1) twice before umount(8)

2022-07-10 Thread David Christensen
On 7/10/22 05:55, fxkl4...@protonmail.com wrote: > I'm just flapping my gums > As a systems administrator for UNIX systems I wrote more than a few scripts > Many time I found it necessary to put a sleep between operations +1 The hard part is deciding what the NUMBER argument should be. :-/