xfs
[Top] [All Lists]

[NEWBIE] Why aren't directory mtimes updated like other filesystems?

To: linux-xfs@xxxxxxxxxxx
Subject: [NEWBIE] Why aren't directory mtimes updated like other filesystems?
From: "Kevin P. Fleming" <kpfleming@xxxxxxx>
Date: Thu, 13 Mar 2003 13:04:58 -0700
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030311
I've just set up my first XFS system, using kernel 2.5.64-bk7. So far so good, got three XFS volumes on an LVM2 volume group and everything seems to be working well.

However, I noticed a behavior that I didn't expect. I've googled, and checked the FAQ, and checked the XFS Bugzilla and I haven't come across it. On my XFS filesystems, when I make changes within a directory (create/remove subdirectory, create/remove/touch files), the mtime (modification time) of the parent directory is not updated. On my other filesystems (ext2 and ext3) it is. I am working on a Makefile that depends on this behavior, so I'm wondering if this is a bug in XFS, or if updating the parent directory's mtime is not mandataory Unix/POSIX behavior?


<Prev in Thread] Current Thread [Next in Thread>