summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-03 12:10:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-03 12:10:24 +0000
commit98b8bb8ecdf103ce39870aac697c906b5723c3e8 (patch)
treeb086145bbabb7d7ff8e81e90cd3db5b8aeec68e8 /perl-install
parent13213676190222defa16e44cf6f4bc5a3a78e01d (diff)
downloaddrakx-98b8bb8ecdf103ce39870aac697c906b5723c3e8.tar
drakx-98b8bb8ecdf103ce39870aac697c906b5723c3e8.tar.gz
drakx-98b8bb8ecdf103ce39870aac697c906b5723c3e8.tar.bz2
drakx-98b8bb8ecdf103ce39870aac697c906b5723c3e8.tar.xz
drakx-98b8bb8ecdf103ce39870aac697c906b5723c3e8.zip
(real_format_part): give "-v 1" to mkreiserfs if kernel is 2.2
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 9d9180286..6f32c7e06 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -119,7 +119,7 @@ sub real_format_part {
push @options, "-F" if isLoopback($part);
format_ext2($part->{device}, @options);
} elsif (isReiserfs($part)) {
- format_reiserfs($part->{device}, @options);
+ format_reiserfs($part->{device}, @options, if_(c::kernel_version() =~ /^\Q2.2/, "-v", "1"));
} elsif (isDos($part)) {
format_dos($part->{device}, @options);
} elsif (isWin($part)) {