From 252041321d4ac8753e3083c71590291154dbe66e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 27 May 2004 11:26:16 +0000 Subject: new function isTrueLocalFS() to make a distinction between ext3/reiserfs/... and nfs => allow /home on nfs (bugzilla #7460) --- perl-install/fsedit.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/fsedit.pm') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 69b9bf826..cc6129991 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -561,7 +561,9 @@ Please be sure to add a /boot partition") if $mntpoint eq "/" && isLVM($part) && die N("This directory should remain within the root filesystem") 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)); + if !isTrueLocalFS($part) && $mntpoint eq '/'; + 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) if $part->{options} =~ /encrypted/ && member($mntpoint, qw(/ /usr /var /boot)); -- cgit v1.2.1