path: root/man
diff options
authorZhong, Xin <>2011-07-12 10:48:37 +0800
committerChris Mason <>2011-10-25 09:18:59 -0400
commita70b0b2bba94fe62541cc21a9afe35015521fcc3 (patch)
tree05f06902dc03b312baa40d264cd1d9e2c019a105 /man
parentfdbebea13bca4bdd4ec4bd37fc469d2ba589a9a1 (diff)
Btrfs-progs: add "btrfs subvolume get-default" subcommand
Add subcommand to get the default subvolume of btrfs filesystem V2->V3: * add man page * based on integration-20110705 Reviewed-by: Andreas Philipp <> Reviewed-by: Goffredo Baroncelli <> Reported-by: Yang, Yi <> Signed-off-by: Zhong, Xin <>
Diffstat (limited to 'man')
1 files changed, 7 insertions, 0 deletions
diff --git a/man/ b/man/
index faa7bf85..e830abd4 100644
--- a/man/
+++ b/man/
@@ -15,6 +15,8 @@ btrfs \- control a btrfs filesystem
\fBbtrfs\fP \fBsubvolume set-default\fP\fI <id> <path>\fP
+\fBbtrfs\fP \fBsubvolume get-default\fP\fI <path>\fP
\fBbtrfs\fP \fBfilesystem sync\fP\fI <path> \fP
\fBbtrfs\fP \fBfilesystem resize\fP\fI [+/\-]<size>[gkm]|max <filesystem>\fP
@@ -120,6 +122,11 @@ Set the subvolume of the filesystem \fI<path>\fR which is mounted as
is returned by the \fBsubvolume list\fR command.
+\fBsubvolume get-default\fR\fI <path>\fR
+Get the default subvolume of the filesystem \fI<path>\fR. The output format
+is similar to \fBsubvolume list\fR command.
\fBfilesystem defragment\fP -c[zlib|lzo] [-l \fIlen\fR] [-s \fIstart\fR] [-t \fIsize\fR] -[vf] <\fIfile\fR>|<\fIdir\fR> [<\fIfile\fR>|<\fIdir\fR>...]
Defragment file data and/or directory metadata. To defragment all files in a