Re: 2.0.31-pre9: "noise after df"

Ralf Baechle (ralf@cobaltmicro.com)
Tue, 16 Sep 1997 13:14:59 -0700 (PDT)


> > So "bug" is in df (or is sync required before df-ing?).
>
> That is UNIX tradition somehow; I don't know if it makes a large
> difference with and without.

Oooold Unices hat a df that computed the disk useage from data directly
read from disk. So with a large memory the numbers computed by df
could have been way off from the real numbers. So a sync(2) call was
added as a kludge to bring the df numbers closer to the real ones.
The sync call in the diskutils is just a leftover from that times.

Ralf