fdisk 2.19 also needs -c=dos -u=cylinders

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 14 years ago
parent cc5c41201a
commit 9e0aba0742

@ -46,10 +46,10 @@ DIR=$PWD
TEMPDIR=$(mktemp -d) TEMPDIR=$(mktemp -d)
#Software Qwerks #Software Qwerks
#fdisk 2.18, dos no longer default #fdisk 2.18.x/2.19.x, dos no longer default
unset FDISK_DOS unset FDISK_DOS
if fdisk -v | grep 2.18 >/dev/null ; then if fdisk -v | grep 2.1[8-9] >/dev/null ; then
FDISK_DOS="-c=dos -u=cylinders" FDISK_DOS="-c=dos -u=cylinders"
fi fi

Loading…
Cancel
Save