Hello,
We're a team of 4 final year computer science students and are
working on generating a diff between file system snapshots using the
send receive code.
The output of our utility looks like this-
(I've tested it on a small subvol with minimal changes just to give an idea)
root@nafisa-M-6319:/mnt/btrfs# btrfs sub diff -p /mnt/btrfs/snap1
/mnt/btrfs/snap2
Directory Deleted path = dir5
File Deleted path = 1.c
File Written path = 3.c data written : "3.c was changed"
File Moved path from = 4.c path to = dir1/4.c
new files created = 0
new dir created = 0
files deleted = 1
changed links = 1
dirs deleted = 1
files written = 1
We want the diff output to look more structured and request
suggestions on the same. Something along the lines of git-diff output
format.
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html