* Snapshots diff
@ 2016-04-03 21:46 Jean-Denis Girard
0 siblings, 0 replies; only message in thread
From: Jean-Denis Girard @ 2016-04-03 21:46 UTC (permalink / raw)
To: linux-btrfs
Hi list,
I've written a little Python script that displays differences between
two snapshots. It relies on btrfs send to compute the differences. You
can get it here: https://github.com/sysnux/btrfs-snapshots-diff
There are no dependencies besides Python2.
The stream is decoded in the Python code, and there is something wrong
with symlinks : the action in the stream does not correspond to what is
written in btrfs-progs/send-stream.c (BTRFS_SEND_A_INO vs
BTRFS_SEND_A_PATH_LINK). I probably made a mistake, but can't find it:
can someone explain that difference?
I hope someone will find this useful.
Thanks,
--
Jean-Denis Girard
SysNux Systèmes Linux en Polynésie française
http://www.sysnux.pf/ Tél: +689 40.50.10.40 / GSM: +689 87.79.75.27
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-03 21:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-03 21:46 Snapshots diff Jean-Denis Girard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.