xfs
[Top] [All Lists]

Re: xfs setting inode ctime

To: vijaya saradhi uppaluri <uvsaradhi@xxxxxxxxx>
Subject: Re: xfs setting inode ctime
From: Dean Roehrich <roehrich@xxxxxxx>
Date: Wed, 29 Sep 2004 10:14:03 -0500
Cc: linux-xfs@xxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
>From:  vijaya saradhi uppaluri <uvsaradhi@xxxxxxxxx>

>Is there any logical reason behind this? Why does XFS_AT_CTIME is
>coupled with ATTR_DMI?
>
>Is there any goodway of setting ctime attribute of xfs? 
>
>I observed that other file-systems sets the ctime accordinlgy if
>ATTR_CTIME flag is set.

XFS inherits this restriction from Irix, where userspace is not allowed to set
ctime.  The Irix utime(2) and utimes(2) system calls allow only atime and
mtime to be set, and always set ctime to the current time.  I see the same in
Solaris 9 and RH9 manpages.

How are you changing ctime?

Dean


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