> Date: Mon, 27 Nov 2006 14:53:06 +0100 (CET)
> From: Oliver Fromme <[EMAIL PROTECTED]>
> Sender: [EMAIL PROTECTED]
> 
> O. Hartmann wrote:
>  > Maybe amd() dismounts to early ... Don't know. Maybe the magic
>  > 'sync;sync;sync' before dismounting will help, I'll try it.
> 
> As far as I know, that's not different from calling "sync"
> just once.  It might make more sense to put a little sleep
> between the sync calls, though.

The traditional mantra was
sync
sync
sync
and not sync;sync;sync. The reason was timing. By entering the sync
command three times as fast as anyone could type, the sync could
reliably complete.

That mantra is about 25 years old, so its validity on modern hardware is
questionable, but the need for a delay is very real. I would suggest
something like: sync && sleep 5
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: [EMAIL PROTECTED]                       Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

Attachment: pgpYYS68ors84.pgp
Description: PGP signature

Reply via email to