summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAndreas Philipp <philipp.andreas@gmail.com>2011-04-26 10:02:44 +0200
committerChris Mason <chris.mason@oracle.com>2011-10-25 09:18:58 -0400
commitde750d7a0d5a354eeec002b2db779cad42323870 (patch)
tree931ab53e3562e087ee466abc85fe75536dd5af0a /man
parent97ecf6ad90db0475b7847258e5f4505fbe4ea7bc (diff)
Updated manpage for btrfs subvolume snapshot.
Signed-off-by: Andreas Philipp <philipp.andreas@gmail.com> Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
Diffstat (limited to 'man')
-rw-r--r--man/btrfs.8.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 6f92f916..cb32679e 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -5,7 +5,7 @@
.SH NAME
btrfs \- control a btrfs filesystem
.SH SYNOPSIS
-\fBbtrfs\fP \fBsubvolume snapshot\fP\fI <source> [<dest>/]<name>\fP
+\fBbtrfs\fP \fBsubvolume snapshot\fP\fI [-r] <source> [<dest>/]<name>\fP
.PP
\fBbtrfs\fP \fBsubvolume delete\fP\fI <subvolume>\fP
.PP
@@ -76,10 +76,11 @@ commands.
.SH COMMANDS
.TP
-\fBsubvolume snapshot\fR\fI <source> [<dest>/]<name>\fR
-Create a writable snapshot of the subvolume \fI<source>\fR with the name
-\fI<name>\fR in the \fI<dest>\fR directory. If \fI<source>\fR is not a
-subvolume, \fBbtrfs\fR returns an error.
+\fBsubvolume snapshot\fR\fI [-r] <source> [<dest>/]<name>\fR
+Create a writable/readonly snapshot of the subvolume \fI<source>\fR with the
+name \fI<name>\fR in the \fI<dest>\fR directory. If \fI<source>\fR is not a
+subvolume, \fBbtrfs\fR returns an error. If \fI-r\fR is given, the snapshot
+will be readonly.
.TP
\fBsubvolume delete\fR\fI <subvolume>\fR