summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-14 17:46:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-14 17:46:11 +0000
commit124b8e3360ab2d5def420fabf0217e15c52acb6c (patch)
tree5c4eb1fe34a9efc15b9f43cdeb352035556148a2 /perl-install/fsedit.pm
parent7b83bcecba936fe137f678661db262bc790c57c9 (diff)
downloaddrakx-124b8e3360ab2d5def420fabf0217e15c52acb6c.tar
drakx-124b8e3360ab2d5def420fabf0217e15c52acb6c.tar.gz
drakx-124b8e3360ab2d5def420fabf0217e15c52acb6c.tar.bz2
drakx-124b8e3360ab2d5def420fabf0217e15c52acb6c.tar.xz
drakx-124b8e3360ab2d5def420fabf0217e15c52acb6c.zip
add a warning for / on LVM: "You may not be able to install lilo (since lilo doesn't handle a LV on multiple PVs)"
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index fbde3609b..f3c5b763d 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -532,6 +532,9 @@ 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);
+ cdie \N("You may not be able to install lilo (since lilo doesn't handle a LV on multiple PVs)")
+ if arch() =~ /i.86/ && member($mntpoint, '/', '/boot') && isLVM($hd) && @{$hd->{disks} || []} > 1;
+
cdie \N("This directory should remain within the root filesystem")
if member($mntpoint, qw(/root));
die \N("This directory should remain within the root filesystem")