summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-27 19:44:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-27 19:44:02 +0000
commit7e2494c500067fc8579933144c892c0db4bf983e (patch)
tree6a4c86d408c0379a70f9bda39700af30d6e96999
parent7234a984f9d4e05c4e1f93717c5e202cef54fb79 (diff)
downloaddrakx-7e2494c500067fc8579933144c892c0db4bf983e.tar
drakx-7e2494c500067fc8579933144c892c0db4bf983e.tar.gz
drakx-7e2494c500067fc8579933144c892c0db4bf983e.tar.bz2
drakx-7e2494c500067fc8579933144c892c0db4bf983e.tar.xz
drakx-7e2494c500067fc8579933144c892c0db4bf983e.zip
/root on a separate partition gives a warning, not an error
-rw-r--r--perl-install/fsedit.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 7ea91df32..b4b65ebc6 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -535,8 +535,10 @@ 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("This directory should remain within the root filesystem")
+ if member($mntpoint, qw(/root));
die \N("This directory should remain within the root filesystem")
- if member($mntpoint, qw(/bin /dev /etc /lib /sbin /root /mnt));
+ if member($mntpoint, qw(/bin /dev /etc /lib /sbin /mnt));
die \N("You need a true filesystem (ext2/ext3, reiserfs, xfs, or jfs) for this mount point\n")
if !isTrueFS($part) && member($mntpoint, qw(/ /home /tmp /usr /var));
die \N("You can't use an encrypted file system for mount point %s", $mntpoint)