diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-07-03 13:25:04 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-07-03 13:25:04 +0000 |
commit | dedeabe506d093314b7be2e03fd046e4d5f492fa (patch) | |
tree | db879d1a8a002bd30aea4f3132139b8907b44063 /perl-install | |
parent | 615ce6ba0351a116ceedd911baba6c76126f2c26 (diff) | |
download | drakx-backup-do-not-use-dedeabe506d093314b7be2e03fd046e4d5f492fa.tar drakx-backup-do-not-use-dedeabe506d093314b7be2e03fd046e4d5f492fa.tar.gz drakx-backup-do-not-use-dedeabe506d093314b7be2e03fd046e4d5f492fa.tar.bz2 drakx-backup-do-not-use-dedeabe506d093314b7be2e03fd046e4d5f492fa.tar.xz drakx-backup-do-not-use-dedeabe506d093314b7be2e03fd046e4d5f492fa.zip |
(mount): add fsck.ext2 before ext2-mounting
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/fs.pm | 2 |
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'; |