lkml.org 
[lkml]   [1996]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: df command race condition
Date
-----BEGIN PGP SIGNED MESSAGE-----

>>>>> "DP" == Derrik Pates <dpates@cavern.nmsu.edu> writes:
In article <Pine.LNX.3.94.960924214111.22862A-100000@Cavern.NMSU.Edu> Derrik Pates <dpates@cavern.nmsu.edu> writes:

DP> I have a feeling that this is already a known thing, but here goes: If you
DP> run the df command and the current working directory has been removed, the
DP> df CPU consumption skyrockets, but it never displays anything. I'm not
DP> sure what version I have, but it's the version that's included with the
DP> Slackware 3.0 distribution. It say it's from GNU fileutils 3.12 if that
DP> helps.

What linux release do you run?
I've tried the following commands with linux 2.0.14 and df 3.9
(a.out):

mkdir /tmp/outch
cd /tmp/outch
rmdir /tmp/outch
df
df .
df /tmp/outch

... they all worked fine here and give an error message where suitable.
IMHO this is is not a kernel issue!?

- - Andreas

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
Comment: Processed by Mailcrypt 3.3, an Emacs/PGP interface

iQBVAwUBMk4YtUVdjNvyndGpAQHKPAIAx4m9qvVr3KcyHBhs7/XEY7c49D3d6jol
tvW1bjoZK9Xy3vmkJWD0Oydl+OKkzvzOxk8XE8/qc0/6satVlf5Lcw==
=6T1c
-----END PGP SIGNATURE-----
--
Andreas Koppenhoefer, Student der Universitaet Stuttgart, BR Deutschland
Franz-Schubert-Str. 2, 97616 Bad Neustadt; Phone +49 9771 7943, Fax/Data 7947
<akoppenhoefer@schweinfurt.netsurf.de>,<koppenas@informatik.uni-stuttgart.de>
<Andreas.Koppenhoefer@studbox.uni-stuttgart.de>; PGP-Key available at
URL <http://www.informatik.uni-stuttgart.de/menschen/ako/impressum.html>

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.090 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site