At 08/24/2016 08:49 PM, David Sterba wrote:
On Wed, Aug 17, 2016 at 08:42:48AM +0800, Qu Wenruo wrote:
At 08/16/2016 10:31 PM, David Sterba wrote:
On Mon, Aug 01, 2016 at 02:29:42PM +0800, Qu Wenruo wrote:
Introduce send-dump.[ch] which implements a new btrfs_send_ops to
exam and output all operations inside a send stream.
It has a better output format than the old and no longer compilable
send-test tool, but still tries to be script friendly.
Provides the basis for later "inspect-internal dump-send" command.
I'd rather put that into the receive subcommand, as it takes the stream
as argument and it's closer to the send/receive commands, but that's
a minor thing.
I'm OK to put it into receive command.
Although unlike normal receive usage, it doesn't need the <path>
parameter, and make <path> to be optional.
That's a good point and would make the syntax work in two modes, but we
do that in ohter commands and I hope it will not be confusing. Exmaples:
Normal receive:
btrfs receive -f file /mount
Dump the stream:
btrs receive --dump -f file
Sorry for the late reply.
I'm OK for the new syntax.
If no other problem I'll begin to change the syntax and rebase it to devel.
Thanks,
Qu
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html