summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-07-17 14:51:27 +0000
committerOlivier Blin <oblin@mandriva.com>2008-07-17 14:51:27 +0000
commit5788868eeabef80da8bd2ee9413280bfbf80570c (patch)
treefba78f7ff2dd239fcb9873d450f973f801e74c85 /draklive
parent7eac665808a17b9a33388cbdea9f7d57c59397ab (diff)
downloaddrakiso-5788868eeabef80da8bd2ee9413280bfbf80570c.tar
drakiso-5788868eeabef80da8bd2ee9413280bfbf80570c.tar.gz
drakiso-5788868eeabef80da8bd2ee9413280bfbf80570c.tar.bz2
drakiso-5788868eeabef80da8bd2ee9413280bfbf80570c.tar.xz
drakiso-5788868eeabef80da8bd2ee9413280bfbf80570c.zip
fix cylinders count
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 30d1646..bc7f79c 100755
--- a/draklive
+++ b/draklive
@@ -1280,7 +1280,7 @@ sub create_disk_master {
device_allocate_file($dest, $disk_size);
#- FIXME: use parted?
- open(my $fdisk, "| fdisk -C $cylinder_size -S $sectors_per_track -H $heads $dest");
+ open(my $fdisk, "| fdisk -C $cylinders -S $sectors_per_track -H $heads $dest");
print $fdisk <<EOF;
o
n