2 ms·
> Do you guys have any plans on releasing a tool which could be used for diffing filesystems? I don't think we have any immediate plans for this, but it's an i
by woodruffw 3y ago
> Do you guys have any plans on releasing a tool which could be used for diffing filesystems?
I don't think we have any immediate plans for this, but it's an interesting idea. I think you could use graphtage for this (since it performs an IR transformation to do diffs against arbitrary graph-shaped inputs), provided you're able to transform your FS changes/metadata into a graph-shaped object (even just a JSON array of events).
More specifically, assuming you have a journaling FS, I think you could do something like "record the journal for the period you're interested in, and then build a graph of (event, inode) items during that period." But there might be edge cases I'm not thinking of.