Collecting file modification statistics
I wonder if there is a program (e.g. in the shell) for collecting statistics regarding how often files are written to? Basically I would like to compile a list of the files most often modified on my computer during some period of time. I know one could in some way "manually" use the mtime of the files, but I'd prefer an already existing solution if such exists.
I'm intending to set up a Linux system run entirely from a USB flash memory and I would like to know which part of the file system to put on a jffs2 partition, i.e. the most frequently modified files, hence my question above.