summaryrefslogtreecommitdiffstats
path: root/perl-install/fsedit.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-08 18:18:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-08 18:18:17 +0000
commit0714a3c70ac8f9681452769bf911e229683c4242 (patch)
treec2a9dc26e5c5b9342457339d46c48e23f8d099b8 /perl-install/fsedit.pm
parentbeac6f4766d136962beac2bdb187798ce86414aa (diff)
downloaddrakx-backup-do-not-use-0714a3c70ac8f9681452769bf911e229683c4242.tar
drakx-backup-do-not-use-0714a3c70ac8f9681452769bf911e229683c4242.tar.gz
drakx-backup-do-not-use-0714a3c70ac8f9681452769bf911e229683c4242.tar.bz2
drakx-backup-do-not-use-0714a3c70ac8f9681452769bf911e229683c4242.tar.xz
drakx-backup-do-not-use-0714a3c70ac8f9681452769bf911e229683c4242.zip
(check_mntpoint): remove /root from directories that "should remain within the root filesystem"
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r--perl-install/fsedit.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm
index 629b2a88b..365873234 100644
--- a/perl-install/fsedit.pm
+++ b/perl-install/fsedit.pm
@@ -355,7 +355,7 @@ sub check_mntpoint {
die "raid / with no /boot" if $mntpoint eq "/" && isMDRAID($part) && !has_mntpoint("/boot", $hds);
die _("You can't use a LVM Logical Volume for mount point %s", $mntpoint) if ($mntpoint eq '/' || $mntpoint eq '/boot') && isLVMBased($hd);
- die _("This directory should remain within the root filesystem") if member($mntpoint, qw(/bin /dev /etc /lib /sbin /root));
+ die _("This directory should remain within the root filesystem") if member($mntpoint, qw(/bin /dev /etc /lib /sbin));
die _("You need a true filesystem (ext2, reiserfs) for this mount point\n") if !isTrueFS($part) && member($mntpoint, qw(/ /home /tmp /usr /var));
#- if ($part->{start} + $part->{size} > 1024 * $hd->cylinder_size() && arch() =~ /i.86/) {
#- die "/boot ending on cylinder > 1024" if $mntpoint eq "/boot";