cinap_len...@gmx.de once said: > i'm not sure. if you touch an existing file, then it makes sense > that the files mtime gets updated, not the whole directory. > > wstat() and write() on a file only update the files mtime, not > the parent directory. > > however creating a new file or deleting a file from a directory > does change the directories mtime. (the dump change makes it > consistent with that).
>From stat(5): For a plain file, mtime is the time of the most recent create, open with truncation, or write; for a directory it is the time of the most recent remove, create, or wstat of a file in the directory. Cheers, Anthony