By Sean Reifschneider Date 2010-11-03 05:12 Tags btrfs, nclug, patches, sean reifschneider, technical
To help with the "what files have changed" work-flow I mentioned in my last message, I have submitted a patch to btrfs-progs that implements a "subvolume last-gen" command that returns the latest generation represented by that subvolume.
The idea being that you could take a snapshot (or simply run it against your main file-system), and get a number suitable to give to "subvolume find-new" to tell what has changed since then or between then and a more recent snapshot.
NOTE: While it would be great to feed rsync off this information, currently no information about file deletions is included so you would still need to periodically run a full rsync to detect those sorts of changes. The same also seems to be true for renaming files.
comments powered by Disqus