summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-18 20:56:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-18 20:56:45 +0000
commit3de0de1ef028256b80615303a879ff87a11e05ed (patch)
tree33dbfffe4076932edf5b271c3dcd0f0b73133462
parent9720badd53b62a5296a858c84bd2e5cb63dfd290 (diff)
downloaddrakx-backup-do-not-use-3de0de1ef028256b80615303a879ff87a11e05ed.tar
drakx-backup-do-not-use-3de0de1ef028256b80615303a879ff87a11e05ed.tar.gz
drakx-backup-do-not-use-3de0de1ef028256b80615303a879ff87a11e05ed.tar.bz2
drakx-backup-do-not-use-3de0de1ef028256b80615303a879ff87a11e05ed.tar.xz
drakx-backup-do-not-use-3de0de1ef028256b80615303a879ff87a11e05ed.zip
do not use devfs with root software raid
-rw-r--r--perl-install/install_steps.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 3975d676b..9de250ba8 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -872,7 +872,8 @@ sub miscellaneous {
local $_ = $o->{bootloader}{perImageAppend};
- $_ .= ' devfs=mount' if !/devfs=/;
+ # do not use devfs with root software raid
+ $_ .= ' devfs=' . (isRAID(fsedit::get_root($o->{fstab})) ? 'mount' : 'nomount') if !/devfs=/;
if ($o->{lnx4win} and !/mem=/) {
$_ .= ' mem=' . availableRamMB() . 'M';