diff options
author | Zhong, Xin <xin.zhong@intel.com> | 2011-07-12 10:48:37 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-10-25 09:18:59 -0400 |
commit | a70b0b2bba94fe62541cc21a9afe35015521fcc3 (patch) | |
tree | 05f06902dc03b312baa40d264cd1d9e2c019a105 /man | |
parent | fdbebea13bca4bdd4ec4bd37fc469d2ba589a9a1 (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 http://git.darksatanic.net/repo/btrfs-progs-unstable.git
integration-20110705
Reviewed-by: Andreas Philipp <philipp.andreas@gmail.com>
Reviewed-by: Goffredo Baroncelli <kreijack@libero.it>
Reported-by: Yang, Yi <yi.y.yang@intel.com>
Signed-off-by: Zhong, Xin <xin.zhong@intel.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/btrfs.8.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/btrfs.8.in b/man/btrfs.8.in index faa7bf85..e830abd4 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -15,6 +15,8 @@ btrfs \- control a btrfs filesystem .PP \fBbtrfs\fP \fBsubvolume set-default\fP\fI <id> <path>\fP .PP +\fBbtrfs\fP \fBsubvolume get-default\fP\fI <path>\fP +.PP \fBbtrfs\fP \fBfilesystem sync\fP\fI <path> \fP .PP \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. .TP +\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. +.TP + \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 |