parted -a optimal for EXT4

This commit is contained in:
rootzoll
2021-09-28 21:17:04 +02:00
parent 9856aeb9e5
commit 8f8353383b

View File

@@ -580,7 +580,7 @@ if [ "$1" = "format" ]; then
echo "error='partition cleaning failed'" echo "error='partition cleaning failed'"
exit 1 exit 1
fi fi
sudo parted -s /dev/${hdd} mklabel gpt 1>/dev/null 1>&2 sudo parted -s -a optimal -- /dev/${hdd} mklabel gpt 1>/dev/null 1>&2
sleep 2 sleep 2
sync sync
fi fi