Determine which JFFS2 files are being accessed
I am running an system that uses both a ramdisk and jffs2 flash file system for the root file system. I have noticed that jffs2 garbage collection thread is active and uses up a few CPU % every few seconds. As far as I understand the jffs2 garbage collection thread should only run when new data is written to the flash file system, although I see the thread run when I'm not doing anything.
Is there any way to determine which files are being written/modified that are causing the garbage collection thread to run?
Would doing an ls -lt and check the timestamp of the files work?