From 5e895f5e7a5fc732bb96a0853d9ea71c5425a1d9 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 6 Jul 2002 20:32:06 +0000 Subject: /root and /mnt must "remain within the root filesystem" (ie can't be used as mountpoints), dixit redhat --- perl-install/fsedit.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/fsedit.pm') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index f237a8a8c..afff117ad 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -44,6 +44,7 @@ foreach (values %suggestions) { my @suggestions_mntpoints = ( "/var/ftp", "/var/www", "/boot", '/tmp', arch() =~ /sparc/ ? "/mnt/sunos" : arch() =~ /ppc/ ? "/mnt/macos" : "/mnt/windows", + #- RedHat also has /usr/local and /opt ); my @partitions_signatures = ( @@ -492,7 +493,7 @@ sub check_mntpoint { die _("You can't use a LVM Logical Volume for mount point %s", $mntpoint) if ($mntpoint eq '/' || $mntpoint eq '/boot') && isLVM($hd); die _("This directory should remain within the root filesystem") - if member($mntpoint, qw(/bin /dev /etc /lib /sbin)); + if member($mntpoint, qw(/bin /dev /etc /lib /sbin /root /mnt)); die _("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 _("You can't use an encrypted file system for mount point %s", $mntpoint) -- cgit v1.2.1