#2583 start parted at 0% (#4321)

This commit is contained in:
/rootzoll 2023-12-14 22:48:36 +01:00 committed by GitHub
parent fac733a0a1
commit 127d88efcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -747,7 +747,7 @@ if [ "$1" = "format" ]; then
if [ $ext4IsPartition -eq 0 ]; then
# write new EXT4 partition
>&2 echo "# Creating the one big partition - hdd(${hdd})"
parted -s /dev/${hdd} mkpart primary ext4 1024KiB 100% 1>&2
parted -s /dev/${hdd} mkpart primary ext4 0% 100% 1>&2
sleep 6
>&2 echo "# sync"
sync