path: root/man
diff options
authorFrank Holton <>2013-10-01 11:31:47 -0400
committerChris Mason <>2013-10-16 08:23:12 -0400
commit67e8b6748e2d73f4deef420b81225faff67020a5 (patch)
treec4e321b9b306f98be86f6520762279301bd12a76 /man
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 <> Signed-off-by: David Sterba <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'man')
1 files changed, 5 insertions, 2 deletions
diff --git a/man/ b/man/
index d86ec086..de356b09 100644
--- a/man/
+++ b/man/
@@ -268,8 +268,9 @@ Force a sync for the filesystem identified by \fI<path>\fR.
\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