btrfs-progs: describe btrfs-send requires read-only subvolume

Both man btrfs-send(8) and usage message don't describe
btrfs-send needs read-only snapshot as its argument.

Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
master
Satoru Takeuchi 2016-02-04 14:02:14 +09:00 committed by David Sterba
parent bf111ecf90
commit 194a4053f9
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ SYNOPSIS
DESCRIPTION
-----------
Sends the subvolume(s) specified by <subvol> to stdout.
<subvol> should be read-only here.
By default, this will send the whole subvolume. To do an incremental
send, use '-p <parent>'.

View File

@ -711,6 +711,7 @@ const char * const cmd_send_usage[] = {
"btrfs send [-ve] [-p <parent>] [-c <clone-src>] [-f <outfile>] <subvol> [<subvol>...]",
"Send the subvolume(s) to stdout.",
"Sends the subvolume(s) specified by <subvol> to stdout.",
"<subvol> should be read-only here.",
"By default, this will send the whole subvolume. To do an incremental",
"send, use '-p <parent>'. If you want to allow btrfs to clone from",
"any additional local snapshots, use '-c <clone-src>' (multiple times",