> 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.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to