xfs
[Top] [All Lists]

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

Subject: Re: [NEWBIE] Why aren't directory mtimes updated like other filesystems?
From: "Kevin P. Fleming" <kpfleming@xxxxxxx>
Date: Thu, 13 Mar 2003 13:40:57 -0700
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <1047586257.30836.58.camel@xxxxxxxxxxxxxxxxxxxx>
References: <3E70E46A.20901@xxxxxxx> <1047586257.30836.58.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030311
Steve Lord wrote:
Well, the code is there to do this, and, when I modify a directory it
does change the times:

jen{lord}: stat .
  File: "."
  Size: 4096            Blocks: 8          IO Block: 4096   Directory
Device: 804h/2052d Inode: 131 Links: 28 Access: (0755/drwxr-xr-x) Uid: ( 858/ lord) Gid: ( 1015/ network)
Access: Thu Mar 13 14:08:25 2003
Modify: Thu Mar 13 10:50:35 2003
Change: Thu Mar 13 10:50:35 2003

jen{lord}: touch foo
jen{lord}:  stat .
  File: "."
  Size: 4096            Blocks: 8          IO Block: 4096   Directory
Device: 804h/2052d Inode: 131 Links: 28 Access: (0755/drwxr-xr-x) Uid: ( 858/ lord) Gid: ( 1015/ network)
Access: Thu Mar 13 14:08:25 2003
Modify: Thu Mar 13 14:10:28 2003
Change: Thu Mar 13 14:10:28 2003


Strange, I try exactly the same commands and the ctime gets updated but the mtime does not. Are you running on 2.5?


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