summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-05-27 11:26:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-05-27 11:26:16 +0000
commit252041321d4ac8753e3083c71590291154dbe66e (patch)
treeb0c76318d995cac86b9df90aeaf557e7852d3989 /perl-install/fsedit.pm
parentec461fcdcda4fe7459a726f02112ff0a33c2d68f (diff)
downloaddrakx-252041321d4ac8753e3083c71590291154dbe66e.tar
drakx-252041321d4ac8753e3083c71590291154dbe66e.tar.gz
drakx-252041321d4ac8753e3083c71590291154dbe66e.tar.bz2
drakx-252041321d4ac8753e3083c71590291154dbe66e.tar.xz
drakx-252041321d4ac8753e3083c71590291154dbe66e.zip
new function isTrueLocalFS() to make a distinction between ext3/reiserfs/... and nfs
=> allow /home on nfs (bugzilla #7460)
Diffstat (limited to 'perl-install/fsedit.pm')
-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 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));