summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Holton <fholton@gmail.com>2013-10-01 11:31:47 -0400
committerChris Mason <chris.mason@fusionio.com>2013-10-16 08:23:12 -0400
commit67e8b6748e2d73f4deef420b81225faff67020a5 (patch)
treec4e321b9b306f98be86f6520762279301bd12a76
parentc64485544baa9ffc5fbedd5661a05bdee1b37598 (diff)
btrfs-progs: Update manpages for btrfs defrag -r
Add the -r option to the manpages for btrfs defragment Signed-off-by: Frank Holton <fholton@gmail.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
-rw-r--r--man/btrfs.8.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index d86ec086..de356b09 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -268,8 +268,9 @@ Force a sync for the filesystem identified by \fI<path>\fR.
.TP
\fBfilesystem defragment\fP [\fIoptions\fP] \fI<file>\fP|\fI<dir>\fP [\fI<file>\fP|\fI<dir>...\fP]\fP
-Defragment file data and/or directory metadata. To defragment all files in a
-directory you have to specify each one on its own or use your shell wildcards.
+Defragment file data and/or directory metadata. If \fB-r\fP is passed,
+files in \fIdir\fR will be defragmented recursively.
+
The start position and the number of bytes to defragment can be specified by
\fIstart\fR and \fIlen\fR. Any extent bigger than threshold will be
@@ -283,6 +284,8 @@ defragment operations.
be verbose
.IP "\fB-c\fP" 5
compress file contents while defragmenting
+.IP "\fB-r\fP" 5
+defragment files recursively
.IP "\fB-f\fP" 5
flush filesystem after defragmenting
.IP "\fB-s \fIstart\fP\fP" 5