summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-07-03 13:25:04 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-07-03 13:25:04 +0000
commitdedeabe506d093314b7be2e03fd046e4d5f492fa (patch)
treedb879d1a8a002bd30aea4f3132139b8907b44063 /perl-install
parent615ce6ba0351a116ceedd911baba6c76126f2c26 (diff)
downloaddrakx-dedeabe506d093314b7be2e03fd046e4d5f492fa.tar
drakx-dedeabe506d093314b7be2e03fd046e4d5f492fa.tar.gz
drakx-dedeabe506d093314b7be2e03fd046e4d5f492fa.tar.bz2
drakx-dedeabe506d093314b7be2e03fd046e4d5f492fa.tar.xz
drakx-dedeabe506d093314b7be2e03fd046e4d5f492fa.zip
(mount): add fsck.ext2 before ext2-mounting
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index 60bbafeb0..1e73b5aad 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -201,6 +201,8 @@ sub mount($$$;$) {
# nfs::mount($dev, $where) or die _("nfs mount failed");
} elsif ($fs eq 'smb') {
die "no smb yet...";
+ } elsif ($fs eq 'ext2') {
+ run_program::run("fsck.ext2", $dev);
} else {
$dev = devices::make($dev) if $fs ne 'proc' && $fs ne 'usbdevfs';