From 7e2494c500067fc8579933144c892c0db4bf983e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 27 Feb 2003 19:44:02 +0000 Subject: /root on a separate partition gives a warning, not an error --- perl-install/fsedit.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') 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) -- cgit v1.2.1