I was asking for similar feature in the past as well. If your problem is the same like mine, you'd be using copy-on-read feature which would copy-up all files where atime is updated.
I think you simply need a log of files which are open/read. This kernel module will do the job for you: ftp://ftp.slax.org/source/slax/kernel/2.6.20/src-core/probe.tar.bz2 Make sure to enable kprobes in your kernel configuration. After the module is loaded, you'll find a log of all opened/read files in syslog. This module has been written by Junjiro Okajima for me personally, I hope he won't mind I'm sharing it. Tomas M slax.org James Willcox wrote: > Hi, > > I would like to know if it's possible for aufs to update the atime on > files when they are accessed. I am using the copy-on-write feature with > squashfs and ext2, and having an updated atime would allow me to > determine which files from the squashfs branch are unneeded (partially). > > Thanks, > James > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV