[prev in list] [next in list] [prev in thread] [next in thread] 

List:       coreutils-bug
Subject:    bug in du --time=atime
From:       Paul Eggert <eggert () CS ! UCLA ! EDU>
Date:       2005-06-24 17:43:50
Message-ID: 87aclfy7jd.fsf_-_ () penguin ! cs ! ucla ! edu
[Download RAW message or body]

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.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic