summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-17 13:46:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-17 13:46:37 +0200
commitf16e906c9dae3ce783bb7ece087ec7d5ecc9f9b7 (patch)
tree2214ca80d05921be5a401a8b6433d69b184c2e97 /scripts
parent72f1a767dc10b94318682186739264771e50900e (diff)
force filesystem creation
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-cubox.sh2
-rwxr-xr-xscripts/install-rpi.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/install-cubox.sh b/scripts/install-cubox.sh
index 3400ca07b..205ea71a0 100755
--- a/scripts/install-cubox.sh
+++ b/scripts/install-cubox.sh
@@ -93,7 +93,7 @@ parted -a optimal -s $1 unit s mkpart primary fat32 $rootsizeend $maxsize >/dev/
sfdisk --change-id $1 2 88 >/dev/null 2>&1
echo "Creating filesystem"
-mkfs.ext4 -q -O ^huge_file ${1}1
+mkfs.ext4 -F -q -O ^huge_file ${1}1
sync
tmp=$(mktemp -d)
diff --git a/scripts/install-rpi.sh b/scripts/install-rpi.sh
index 244e6702f..ae4deff94 100755
--- a/scripts/install-rpi.sh
+++ b/scripts/install-rpi.sh
@@ -103,10 +103,10 @@ else
fi
sleep 2
mkfs.vfat ${1}1 >/dev/null
-mkfs.ext4 -q -O ^huge_file ${1}2
+mkfs.ext4 -F -q -O ^huge_file ${1}2
if [ $datadir -eq 1 ];then
if [ $keep -eq 0 ];then
- mkfs.ext4 -q -O ^huge_file ${1}3
+ mkfs.ext4 -F -q -O ^huge_file ${1}3
fi
fi
sync