diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-08-03 18:36:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-08-03 18:36:38 +0000 |
commit | 60fb6f69a934ce70e001a134f62d22fa943ff008 (patch) | |
tree | a8c51b0fa83fa36126051aa68bdf813d7031c4d9 /perl-install/fsedit.pm | |
parent | 18d2d42b1f8fe6ed9b37ffff524d5bd186d44596 (diff) | |
download | drakx-backup-do-not-use-60fb6f69a934ce70e001a134f62d22fa943ff008.tar drakx-backup-do-not-use-60fb6f69a934ce70e001a134f62d22fa943ff008.tar.gz drakx-backup-do-not-use-60fb6f69a934ce70e001a134f62d22fa943ff008.tar.bz2 drakx-backup-do-not-use-60fb6f69a934ce70e001a134f62d22fa943ff008.tar.xz drakx-backup-do-not-use-60fb6f69a934ce70e001a134f62d22fa943ff008.zip |
(check_mntpoint): /root should remain within the root filesystem
Diffstat (limited to 'perl-install/fsedit.pm')
-rw-r--r-- | perl-install/fsedit.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 2e7eada73..37b875f22 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -346,7 +346,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)); + die _("This directory should remain within the root filesystem") if member($mntpoint, qw(/bin /dev /etc /lib /sbin /root)); 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"; |