summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-20 01:18:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-20 01:18:17 +0000
commitfb23be31b3495b8c2ea5210a56977b4e79d96133 (patch)
tree612245085f8f30af80e196997bab97c5495a98a4 /perl-install/fsedit.pm
parent4beb3c6f70e05e7c2cafd039bd3742637716ef73 (diff)
downloaddrakx-backup-do-not-use-fb23be31b3495b8c2ea5210a56977b4e79d96133.tar
drakx-backup-do-not-use-fb23be31b3495b8c2ea5210a56977b4e79d96133.tar.gz
drakx-backup-do-not-use-fb23be31b3495b8c2ea5210a56977b4e79d96133.tar.bz2
drakx-backup-do-not-use-fb23be31b3495b8c2ea5210a56977b4e79d96133.tar.xz
drakx-backup-do-not-use-fb23be31b3495b8c2ea5210a56977b4e79d96133.zip
- simplify check_mntpoint
- fix checking mount point in Mount_point()
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 72d87e7d8..10bc974df 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -529,8 +529,9 @@ sub check_mntpoint {
$mntpoint =~ m|^/| or die \N("Mount points must begin with a leading /");
$mntpoint ne $part->{mntpoint} && has_mntpoint($mntpoint, $all_hds) and die \N("There is already a partition with mount point %s\n", $mntpoint);
- die "raid / with no /boot"
- if $mntpoint eq "/" && isRAID($part) && !has_mntpoint("/boot", $all_hds);
+ die \N("You've selected a software RAID partition as root (/).
+No bootloader is able to handle this without a /boot partition.
+Please be sure to add a /boot partition") if $mntpoint eq "/" && isRAID($part) && !has_mntpoint("/boot", $all_hds);
die \N("You can't use a LVM Logical Volume for mount point %s", $mntpoint)
if $mntpoint eq '/boot' && isLVM($hd);
die \N("This directory should remain within the root filesystem")