about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-05-11 10:38:00 +0200
committerJuan RP <xtraeme@gmail.com>2014-05-11 10:38:00 +0200
commitba9801c183c7d9a5fe80ec3a0bee2f62ddbae8dc (patch)
treecc4ff0a3a7cc0c12b56227643296a4947c859e9a /installer.sh.in
parentb8062c9b45ebd0272174e3f148e3fc99a05a8dd3 (diff)
downloadhrmpf-ba9801c183c7d9a5fe80ec3a0bee2f62ddbae8dc.tar.gz
hrmpf-ba9801c183c7d9a5fe80ec3a0bee2f62ddbae8dc.tar.xz
hrmpf-ba9801c183c7d9a5fe80ec3a0bee2f62ddbae8dc.zip
installer: for btrfs filesystems use -f to force creation.
Diffstat (limited to 'installer.sh.in')
-rw-r--r--installer.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer.sh.in b/installer.sh.in
index a283d2e..7a4a0c4 100644
--- a/installer.sh.in
+++ b/installer.sh.in
@@ -649,7 +649,7 @@ failed to activate swap on $dev!\ncheck $LOG for errors." ${MSGBOXSIZE}
 
         if [ "$mkfs" -eq 1 ]; then
             case "$fstype" in
-            btrfs) MKFS="mkfs.btrfs"; modprobe btrfs >$LOG 2>&1;;
+            btrfs) MKFS="mkfs.btrfs -f"; modprobe btrfs >$LOG 2>&1;;
             ext2) MKFS="mke2fs"; modprobe ext2 >$LOG 2>&1;;
             ext3) MKFS="mke2fs -j"; modprobe ext3 >$LOG 2>&1;;
             ext4) MKFS="mke2fs -t ext4"; modprobe ext4 >$LOG 2>&1;;