diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-07-03 14:21:39 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-07-03 14:21:39 +0000 |
commit | 22bc5fdf35750e4ba6eafb903029c41bf2dbdcb3 (patch) | |
tree | 7e1046eebe612a8fa3e342348b717ae29747baa2 /perl-install/fs.pm | |
parent | 1c3510c0226eadf1300ec6ba8cb0597946b0a373 (diff) | |
download | drakx-22bc5fdf35750e4ba6eafb903029c41bf2dbdcb3.tar drakx-22bc5fdf35750e4ba6eafb903029c41bf2dbdcb3.tar.gz drakx-22bc5fdf35750e4ba6eafb903029c41bf2dbdcb3.tar.bz2 drakx-22bc5fdf35750e4ba6eafb903029c41bf2dbdcb3.tar.xz drakx-22bc5fdf35750e4ba6eafb903029c41bf2dbdcb3.zip |
(mount): fix fsck.ext2'ing
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 1e73b5aad..3e9603c28 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -201,8 +201,6 @@ 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'; @@ -228,6 +226,8 @@ sub mount($$$;$) { eval { modules::load('reiserfs') }; } elsif ($fs eq 'romfs') { eval { modules::load('romfs') }; + } elsif ($fs eq 'ext2') { + run_program::run("fsck.ext2", "-a", $dev) or die _("fsck failed: ") . "$!"; } $where =~ s|/$||; |