lkml.org 
[lkml]   [2006]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: file changes without updating mtime
Perhaps you could create a filesystem wrapper module
or Linux Security module or equivalent to intercept write/truncate etc.
to invalidate an extended attribute containing a checksum.

This extended attribute could be updated from userspace periodically,
and your userspace program would compare those checksums.

That would be generally useful. For example rsync could
use it to very quickly determine if it needed to sync file contents.

See also http://lkml.org/lkml/2006/5/17/138

Note also files mounted loopback and modified don't
have their mtime updated either. Perhaps the patch
referenced above addresses that?

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

\
 
 \ /
  Last update: 2006-06-28 15:44    [W:0.062 / U:0.188 seconds]
©2003-2014 Jasper Spaans. Advertise on this site