path: root/man
diff options
authorLukas Czerner <>2012-12-11 15:24:59 +0100
committerDavid Sterba <>2013-02-01 16:55:03 +0100
commit68120361745cc2cca7ad01170653b57649f26da6 (patch)
tree83db09cd4db172d5011672074d1536f9b9ecc9ad /man
parente599d6c5daede0a06e637e6293af1c9b3523c24c (diff)
Btrfs-progs: add '-o' option into subvolume list command
This commit introduces new option '-o' to list only subvolumes under the specified path. This does not change subvolume list behaviour. It has been default in the past and it is even with this commit. Signed-off-by: Lukas Czerner <>
Diffstat (limited to 'man')
1 files changed, 4 insertions, 2 deletions
diff --git a/man/ b/man/
index d856b829..4e0e74ec 100644
--- a/man/
+++ b/man/
@@ -11,7 +11,7 @@ btrfs \- control a btrfs filesystem
\fBbtrfs\fP \fBsubvolume create\fP\fI [<dest>/]<name>\fP
-\fBbtrfs\fP \fBsubvolume list\fP\fI [-aprts] [-g [+|-]value] [-c [+|-]value] [--rootid=rootid,gen,ogen,path] <path>\fP
+\fBbtrfs\fP \fBsubvolume list\fP\fI [-aoprts] [-g [+|-]value] [-c [+|-]value] [--rootid=rootid,gen,ogen,path] <path>\fP
\fBbtrfs\fP \fBsubvolume set-default\fP\fI <id> <path>\fP
@@ -114,7 +114,7 @@ Create a subvolume in \fI<dest>\fR (or in the current directory if
\fI<dest>\fR is omitted).
-\fBsubvolume list\fR\fI [-aprts][-g [+|-]value] [-c [+|-]value] [--sort=gen,ogen,rootid,path] <path>\fR
+\fBsubvolume list\fR\fI [-aoprts][-g [+|-]value] [-c [+|-]value] [--sort=gen,ogen,rootid,path] <path>\fR
List the subvolumes present in the filesystem \fI<path>\fR. For every
subvolume the following information is shown by default.
@@ -133,6 +133,8 @@ and top level. The parent's ID may be used at mount time via the
\fB-a\fP print all the subvolumes in the filesystem and distinguish between
absolute and relative path with respect to the given <path>.
+\fB-o\fP print only subvolumes bellow specified <path>.
\fB-r\fP only readonly subvolumes in the filesystem wille be listed.
\fB-s\fP only snapshot subvolumes in the filesystem will be listed.