Messages in this thread | | | Date | Wed, 28 Jun 2006 14:38:14 +0100 | From | Pádraig Brady <> | Subject | Re: 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/
| |