Bug#507658: RFP: loggedfs -- a fuse-filesystem which can log every operations in the filesystem
Thanks for the info,
> This can be achieved using tools already in Debian.
> Install blktrace [1], and try:
>
> blktrace -d /dev/sda -o - | blkparse -i -
>
> [1] http://packages.debian.org/blktrace
I think blktrace would work for my situation, checking for any program that
writes to the harddisk.
But some advantages of loggedfs are:
It takes as an input a directory, not a device. This makes it more flexible
(for purposes other than my own).
It is a fuse filesystem, so it might not require root permissions unlike
blktrace. (I haven't actually tried loading it as non-root.)
It doesn't require debugfs compiled into kernel. It doesn't require
CONFIG_BLK_DEV_IO_TRACE turned on.
It looks like blktrace might report more events. I'm not sure though.
C.
Reply to: