summaryrefslogtreecommitdiffstats
path: root/rescue/tree
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-26 10:44:18 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-26 10:44:18 +0000
commitad37cbaf9f255224a3319e4740e527654ee045bc (patch)
treed989cabf5cc2dfe8e882c478ba0c6ca72b65ab81 /rescue/tree
parent4cbd2d466929d200f22648b91c860997f7c36ba4 (diff)
downloaddrakx-backup-do-not-use-ad37cbaf9f255224a3319e4740e527654ee045bc.tar
drakx-backup-do-not-use-ad37cbaf9f255224a3319e4740e527654ee045bc.tar.gz
drakx-backup-do-not-use-ad37cbaf9f255224a3319e4740e527654ee045bc.tar.bz2
drakx-backup-do-not-use-ad37cbaf9f255224a3319e4740e527654ee045bc.tar.xz
drakx-backup-do-not-use-ad37cbaf9f255224a3319e4740e527654ee045bc.zip
current parted does no more support fat fs but fat16 or fat32 fs.
Diffstat (limited to 'rescue/tree')
-rwxr-xr-xrescue/tree/etc/oem-all2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/tree/etc/oem-all b/rescue/tree/etc/oem-all
index b80e96694..2da5a53aa 100755
--- a/rescue/tree/etc/oem-all
+++ b/rescue/tree/etc/oem-all
@@ -314,7 +314,7 @@ if ($options{free_size} && $options{free_fs}) {
} else {
$free = ($home || $var || $root) + 1;
}
- push @commands, sprintf "mkpart %s %s %s %s", $options{free_primary} ? 'primary' : 'logical', $options{free_fs} =~ /fat/ ? 'fat' : $options{free_fs}, correct_start_end($options{free_primary} ? \$free_point : \$point, $hd_size);
+ push @commands, sprintf "mkpart %s %s %s %s", $options{free_primary} ? 'primary' : 'logical', $options{free_fs}, correct_start_end($options{free_primary} ? \$free_point : \$point, $hd_size);
}
system("parted", "-s", "/dev/$hd", @commands) == 0 or die "unable to partition the disk $hd";