lkml.org 
[lkml]   [1999]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ext2 rename() and the inode ctime of the renamed file/directory
On Fri, Sep 03, 1999 at 11:31:08PM -0400, Chris Siebenmann wrote:

> At the moment, rename()ing something on an ext2 filesystem will update
> the inode ctimes of the directory or directories it was in or moved
> between, but it doesn't update the inode ctime of the renamed thing
> itself.
>
> On most other systems with a kernel rename(), it appears to update
> the rename()'d object's inode ctime.

[7am uncaffeinated disclaimer applies to the following]

Why should the inode's ctime be changed? Nothing is actually happening to the
inode, it's just directory contents which are being altered. Though by that
logic the directory mtime should be changed, not the ctime. Uhhuh. I'm going
to go back to sleep for a bit ;-)

--
QOTD: "Sure, I turned down a drink once. Didn't understand the question."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.044 / U:0.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site