Re: df command race condition

Steve VanDevender (stevev@efn.org)
Thu, 26 Sep 1996 08:50:12 -0700


Steven N. Hirsch writes:
> Derrik Pates wrote:
> >
> > I have a feeling that this is already a known thing, but here goes: If you
> > run the df command and the current working directory has been removed, the
> > df CPU consumption skyrockets, but it never displays anything. I'm not
> > sure what version I have, but it's the version that's included with the
> > Slackware 3.0 distribution. It say it's from GNU fileutils 3.12 if that
> > helps.
> >
>
> The same symptoms occur when 'df' is run after losing connection with a
> remote NFS server. I'm not sure that this represents actual breakage,
> but it is a tad annoying..
>
> Steve

Get the latest GNU fileutils (3.13), which took the sync() call out of
df.