Skip to contentSkip to conversation

add the "--force" switch to the mkfs.btrfs command

PATCH New Goffredo Baroncelli 1 participant 1 message Oct 18, 2011 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 add the "--force" switch to the mkfs.btrfs command

This patch update the man page

Signature · 2 lines
gpg key@ keyserver.linux.it: Goffredo Baroncelli (ghigo) <[email protected]>
Key fingerprint = 4769 7E51 5293 D36C 814E  C054 BF04 F161 3DC5 0512
Quoted 1 line

From 82c11672909e5cc784d08d9361c69f0efb122ef1 Mon Sep 17 00:00:00 2001

From: Goffredo Baroncelli <[email protected]>
Date: Mon, 3 Jan 2011 19:53:05 +0100
Subject: [PATCH 2/2] mkfs.btrfs man page: document the --force option.

Add the --force option to not check if a device is already mounted.

---
 man/mkfs.btrfs.8.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
man/mkfs.btrfs.8.in +4 -0
index 432db1b..2610e9d 100644
@@ -6,6 +6,7 @@ mkfs.btrfs \- create an btrfs filesystem
 [ \fB\-A\fP\fI alloc-start\fP ]
 [ \fB\-b\fP\fI byte-count\fP ]
 [ \fB \-d\fP\fI data-profile\fP ]
+[ \fB \-f\fP ]
 [ \fB \-l\fP\fI leafsize\fP ]
 [ \fB \-L\fP\fI label\fP ]
 [ \fB \-m\fP\fI metadata profile\fP ]
@@ -35,6 +36,9 @@ mkfs.btrfs uses all the available storage for the filesystem.
 Specify how the data must be spanned across the devices specified. Valid
 values are raid0, raid1, raid10 or single.
 .TP
+\fB\-f\fR, \fB\-\-force \fR
+Don't check if the device is already mounted.
+.TP
 \fB\-l\fR, \fB\-\-leafsize \fIsize\fR
 Specify the leaf size, the least data item in which btrfs stores data. The
 default value is the page size.
Signature · 1 line
1.7.7