From fb23be31b3495b8c2ea5210a56977b4e79d96133 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 20 Feb 2003 01:18:17 +0000 Subject: - simplify check_mntpoint - fix checking mount point in Mount_point() --- perl-install/fsedit.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install/fsedit.pm') 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") -- cgit v1.2.1