From: "Dipl.-Ing. Michael Niederle" <mniederle@gmx.at>
To: kreijack@libero.it
Cc: kreijack@gmail.com, Chris Mason <chris.mason@oracle.com>,
linux-btrfs@vger.kernel.org
Subject: btrfs subvol diff
Date: Fri, 26 Mar 2010 22:38:31 +0100 [thread overview]
Message-ID: <20100326223831.4fc45d20@simplux> (raw)
In-Reply-To: <201003262136.32330.kreijack@libero.it>
> It is possible to combine the commands max-gen and find-new ? Something like:
>
> $ btrfs subvol find-new subvol1 snap1
I had very similar thoughts myself.
If we compare two snapshots (of the same subvolume) we wouldn't need timestamps
either, e.g.:
btrfs subvol diff <old_snapshot> <new_snapshot>
The output could be a list of files (and directories); each line prefixed with
a plus sign (for new or modified files) or a minus sign (for deleted files).
The output could be easily postprocessed using grep and cut.
Greetings, Michael
prev parent reply other threads:[~2010-03-26 21:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 10:18 btrfs subvol find-new Michael Niederle
2010-03-26 13:22 ` Chris Mason
2010-03-26 18:51 ` btrfs subvol find-modified Dipl.-Ing. Michael Niederle
2010-03-26 19:36 ` Chris Mason
2010-03-26 20:22 ` Dipl.-Ing. Michael Niederle
2010-03-26 20:26 ` Chris Mason
2010-03-26 20:36 ` Goffredo Baroncelli
2010-03-26 21:11 ` Chris Mason
2010-03-26 22:23 ` Goffredo Baroncelli
2010-03-27 9:52 ` directory order in btrfs Dipl.-Ing. Michael Niederle
2010-03-26 21:38 ` Dipl.-Ing. Michael Niederle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100326223831.4fc45d20@simplux \
--to=mniederle@gmx.at \
--cc=chris.mason@oracle.com \
--cc=kreijack@gmail.com \
--cc=kreijack@libero.it \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.