[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in du --time=atime
From: |
William Brendling |
Subject: |
Re: bug in du --time=atime |
Date: |
Tue, 19 Jul 2005 08:08:53 +0100 |
> 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.
I see what you mean. However, at the end of the du run, the atime of
all the directories will be the current time. The du --time=atime
option is simply reporting this fact. Correct, just not very helpful.
Perhaps better would be to have a further option to exclude the time
of directories when collecting the last time. This would be most
useful for atime, but could also be applied for mtime and ctime.
I don't have much time to work on this at the moment, so if somebody
else would like to take this up, then please do so. If not, I will see
what I can do, but it will take a while.
- Re: bug in du --time=atime,
William Brendling <=