summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-05-05 12:11:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-05-05 12:11:11 +0000
commit7b7fcfdf7fcb4f7fa9b3a52e2bf81ae93739e512 (patch)
tree4641c9b55a843d9f27ae6152789be326de323c3d /perl-install/fsedit.pm
parent9d42e52fa720c98850b2c6c58db7b3fe1b17e6dc (diff)
downloaddrakx-backup-do-not-use-7b7fcfdf7fcb4f7fa9b3a52e2bf81ae93739e512.tar
drakx-backup-do-not-use-7b7fcfdf7fcb4f7fa9b3a52e2bf81ae93739e512.tar.gz
drakx-backup-do-not-use-7b7fcfdf7fcb4f7fa9b3a52e2bf81ae93739e512.tar.bz2
drakx-backup-do-not-use-7b7fcfdf7fcb4f7fa9b3a52e2bf81ae93739e512.tar.xz
drakx-backup-do-not-use-7b7fcfdf7fcb4f7fa9b3a52e2bf81ae93739e512.zip
no_comment
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index c0b5b4fa9..ccc198290 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -14,6 +14,7 @@ use Data::Dumper;
use fsedit;
use devices;
use loopback;
+use raid;
use fs;
use log;
@@ -268,6 +269,7 @@ sub check_mntpoint {
};
$check->($fake_part) unless $mntpoint eq '/' && $loopbackDevice; #- '/' is a special case, no loop check
+ die "raid / with no /boot" if $mntpoint eq "/" && raid::is($part) && !has_mntpoint("/boot", $hds);
#- if ($part->{start} + $part->{size} > 1024 * $hd->cylinder_size() && arch() =~ /i386/) {
#- die "/boot ending on cylinder > 1024" if $mntpoint eq "/boot";
#- die "/ ending on cylinder > 1024" if $mntpoint eq "/" && !has_mntpoint("/boot", $hds);