summaryrefslogtreecommitdiff
path: root/man/mkfs.btrfs.8.in
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2013-05-16 17:04:04 +0200
committerDavid Sterba <dsterba@suse.cz>2013-08-09 14:32:30 +0200
commit0014edf6958512d49a6e677ce516d447e999a0c2 (patch)
treeee4c95c03298f79a70d1dc0a32e6ea8ed707c753 /man/mkfs.btrfs.8.in
parent9681f82853360aac1ff29b14c79c6f669775843a (diff)
btrfs-progs: mkfs: add -O option to specify fs features
Extend mkfs options to specify optional or potentially backwards incompatible features. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'man/mkfs.btrfs.8.in')
-rw-r--r--man/mkfs.btrfs.8.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/mkfs.btrfs.8.in b/man/mkfs.btrfs.8.in
index a3f15034..548e754f 100644
--- a/man/mkfs.btrfs.8.in
+++ b/man/mkfs.btrfs.8.in
@@ -15,6 +15,7 @@ mkfs.btrfs \- create a btrfs filesystem
[ \fB\-s\fP\fI sectorsize\fP ]
[ \fB\-r\fP\fI rootdir\fP ]
[ \fB\-K\fP ]
+[ \fB\-O\fP\fI feature1,feature2,...\fP ]
[ \fB\-h\fP ]
[ \fB\-V\fP ]
\fI device\fP [ \fIdevice ...\fP ]
@@ -77,6 +78,14 @@ Specify a directory to copy into the newly created fs.
\fB\-K\fR, \fB\-\-nodiscard \fR
Do not perform whole device TRIM operation by default.
.TP
+\fB\-O\fR, \fB\-\-features \fIfeature1,feature2,...\fR
+A list of filesystem features turned on at mkfs time. Not all features are
+supported by old kernels.
+
+To see all run
+
+\fBmkfs.btrfs -O list-all\fR
+.TP
\fB\-V\fR, \fB\-\-version\fR
Print the \fBmkfs.btrfs\fP version and exit.
.SH UNIT