diff options
author | Lukas Czerner <lczerner@redhat.com> | 2012-12-11 15:24:59 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2013-02-01 16:55:03 +0100 |
commit | 68120361745cc2cca7ad01170653b57649f26da6 (patch) | |
tree | 83db09cd4db172d5011672074d1536f9b9ecc9ad /man | |
parent | e599d6c5daede0a06e637e6293af1c9b3523c24c (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 <lczerner@redhat.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/btrfs.8.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/man/btrfs.8.in b/man/btrfs.8.in index d856b829..4e0e74ec 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 [-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 .PP \fBbtrfs\fP \fBsubvolume set-default\fP\fI <id> <path>\fP .PP @@ -114,7 +114,7 @@ Create a subvolume in \fI<dest>\fR (or in the current directory if \fI<dest>\fR is omitted). .TP -\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 .RS 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. |