diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-02-20 01:18:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-02-20 01:18:17 +0000 |
commit | fb23be31b3495b8c2ea5210a56977b4e79d96133 (patch) | |
tree | 612245085f8f30af80e196997bab97c5495a98a4 /perl-install/fsedit.pm | |
parent | 4beb3c6f70e05e7c2cafd039bd3742637716ef73 (diff) | |
download | drakx-fb23be31b3495b8c2ea5210a56977b4e79d96133.tar drakx-fb23be31b3495b8c2ea5210a56977b4e79d96133.tar.gz drakx-fb23be31b3495b8c2ea5210a56977b4e79d96133.tar.bz2 drakx-fb23be31b3495b8c2ea5210a56977b4e79d96133.tar.xz drakx-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.pm | 5 |
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") |