[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ctime/mtime with different filesystems



Hi,

sometimes some tests fails, because mtime/ctime or atime is not
correct set. The problem are the VFS layer and the different filesystems,
they all have a different understand from when which field is to change.

For example, if you truncate a zero length file to zero, VFS only
send a notifier that ctime has to be updated. ext2 will also update
mtime, reiserfs not.

Is there a document describing the behaviour, to which I could point
our filesystem experts ?

  Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE GmbH            Deutschherrenstr. 15-19       D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B



Reply to: