summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhou Bo <zhoub-fnst@cn.fujitsu.com>2012-08-08 16:54:54 +0800
committerroot <root@localhost.localdomain>2012-10-04 16:26:33 -0400
commitaf3045cb201b5a89397d90409aafe111aa526e8a (patch)
tree4c6fdb380ec10aa143fda5cc0620ac2c4ae0c4df
parent3defb823843ac6071e38dbd89603344885e7a8aa (diff)
Btrfs-progs: update the manpage entries for the btrfs subvolume list
This patch adds the introduction of the new option '-r' into the man page of 'btrfs subvolume list' command. Signed-off-by: Zhou Bo <zhoub-fnst@cn.fujitsu.com>
-rw-r--r--man/btrfs.8.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index 4b0a9f95..0845b4dc 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -11,7 +11,7 @@ btrfs \- control a btrfs filesystem
.PP
\fBbtrfs\fP \fBsubvolume create\fP\fI [<dest>/]<name>\fP
.PP
-\fBbtrfs\fP \fBsubvolume list\fP\fI [-p] <path>\fP
+\fBbtrfs\fP \fBsubvolume list\fP\fI [-pr] <path>\fP
.PP
\fBbtrfs\fP \fBsubvolume set-default\fP\fI <id> <path>\fP
.PP
@@ -108,7 +108,7 @@ Create a subvolume in \fI<dest>\fR (or in the current directory if
\fI<dest>\fR is omitted).
.TP
-\fBsubvolume list\fR\fI [-p] <path>\fR
+\fBsubvolume list\fR\fI [-pr] <path>\fR
List the subvolumes present in the filesystem \fI<path>\fR. For every
subvolume the following information is shown by default.
ID <ID> top level <ID> path <path>
@@ -119,6 +119,7 @@ at mount time via the \fIsubvol=\fR option.
If \fI-p\fR is given, then \fIparent <ID>\fR is added to the output between ID
and top level. The parent's ID may be used at mount time via the
\fIsubvolrootid=\fR option.
+If \fI-r\fR is given, only readonly subvolumes in the filesystem will be listed.
.TP
\fBsubvolume set-default\fR\fI <id> <path>\fR