Thanks, Ari. This helps. I forgot to ask if this is documented anywhere. Kernel code is fine as long as I know where to look.
Thanks, again.
Alex
On Tuesday, November 18, 2003, at 09:28 PM, ari wrote:
[EMAIL PROTECTED] said this stuff:<snip>
Changing a file, of course, results in a change to its modification time. Am I correct in determining that the mtime of the enclosing directory is also updated?
The mtime of a directory is updated when the directory "file" changes. Directory "file"s contain filenames and their associated inode numbers. Modify any of that information (e.g., create a new file, remove or rename an existing file), and the mtime will be changed. Changing the ctime or mtime of a file within a directory does not modify that of the directory itself.
------------------------------------------------------------- ALEXANDER SENDZIMIR Battleface Consulting 290 Marble Island Road 802 863 5502 Colchester, Vermont [EMAIL PROTECTED]
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

