Update man page of "btrfs subvolume snapshot", documenting the
-R switch.

Signed-off-by: Goffredo Baroncelli <kreij...@inwind.it>
---
 man/btrfs.8.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index b620348..aee1f70 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -12,7 +12,7 @@ btrfs \- control a btrfs filesystem
 .PP
 \fBbtrfs\fP \fBsubvolume list\fP [\fIoptions\fP] [-G [+|-]\fIvalue\fP] [-C 
[+|-]\fIvalue\fP] [--sort=rootid,gen,ogen,path] \fI<path>\fP
 .PP
-\fBbtrfs\fP \fBsubvolume snapshot\fP [-r] \fI<source>\fP 
\fI<dest>\fP|[\fI<dest>\fP/]\fI<name>\fP
+\fBbtrfs\fP \fBsubvolume snapshot\fP [-r][-R] \fI<source>\fP 
\fI<dest>\fP|[\fI<dest>\fP/]\fI<name>\fP
 .PP
 \fBbtrfs\fP \fBsubvolume get-default\fP\fI <path>\fP
 .PP
@@ -227,12 +227,14 @@ for \fB--sort\fP you can combine some items together by 
',', just like
 .RE
 .TP
 
-\fBsubvolume snapshot\fP [-r] \fI<source>\fP 
\fI<dest>\fP|[\fI<dest>\fP/]\fI<name>\fP
+\fBsubvolume snapshot\fP [-r][-R] \fI<source>\fP 
\fI<dest>\fP|[\fI<dest>\fP/]\fI<name>\fP
 Create a writable/readonly snapshot of the subvolume \fI<source>\fR with the
 name \fI<name>\fR in the \fI<dest>\fR directory.
 If only \fI<dest>\fR is given, the subvolume will be named the basename of 
\fI<source>\fR.
 If \fI<source>\fR is not a subvolume, \fBbtrfs\fR returns an error.
 If \fI-r\fR is given, the snapshot will be readonly.
+If \fI-R\fR is given, the snapshot will be made recursively. \fI-R\fR and
+\fI-r\fR cannot be used togheter. The -R switch requires the root capability.
 .TP
 
 \fBsubvolume get-default\fR\fI <path>\fR
-- 
1.8.4.3

--
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

Reply via email to