bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in du --time=atime


From: Paul Eggert
Subject: bug in du --time=atime
Date: Fri, 24 Jun 2005 10:43:50 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

A problem that I just noticed with the recent change to "du" is that
"du --time=atime" always reports the current time, for all entries.
This is because du reads each directory first, before it stats it,
which means the directory's last-accessed time is always the current
time.

Can you please look into fixing this?  We don't want to slow down the
code in the usual case, but for --time=atime (at least) du should stat
the directory first, before it does any readdirs on it.

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]