On Thu, 2003-03-13 at 14:40, Kevin P. Fleming wrote:
> 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?
Ah, this is 2.4, I don't have a spare box for 2.5 here right now,
but I know someone who does. The core xfs code is the same, and it
is updating the timestamp fields in the inode. Possibly it is
something in the stat path.
Steve
--
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx
|