summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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';