summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-03-03 21:32:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-03-03 21:32:25 +0000
commit167fc711a1c9190ba6deb54dd1d7d9fdf84122c3 (patch)
treed327fea0e08a9dd2408c5f3b558157d32863913c /perl-install/standalone/diskdrake
parentedbb716165d7a2aacd508b0f44cf775ef606d033 (diff)
downloaddrakx-167fc711a1c9190ba6deb54dd1d7d9fdf84122c3.tar
drakx-167fc711a1c9190ba6deb54dd1d7d9fdf84122c3.tar.gz
drakx-167fc711a1c9190ba6deb54dd1d7d9fdf84122c3.tar.bz2
drakx-167fc711a1c9190ba6deb54dd1d7d9fdf84122c3.tar.xz
drakx-167fc711a1c9190ba6deb54dd1d7d9fdf84122c3.zip
small fixes for LVM
Diffstat (limited to 'perl-install/standalone/diskdrake')
-rwxr-xr-xperl-install/standalone/diskdrake5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/standalone/diskdrake b/perl-install/standalone/diskdrake
index f61a91abf..8183c976d 100755
--- a/perl-install/standalone/diskdrake
+++ b/perl-install/standalone/diskdrake
@@ -67,13 +67,12 @@ my ($hds, $lvms) =
[_("I can't read your partition table, it's too corrupted for me :(
I'll try to go on blanking bad partitions"), $err]);
};
-push @$hds, @$lvms;
$SIG{__DIE__} = sub { chomp (my $m = $_[0]); log::l("ERROR: $m") };
-my $fstab = [ fsedit::get_fstab(@$hds) ];
+my $fstab = [ fsedit::get_fstab(@$hds, @$lvms) ];
fs::get_mntpoints_from_fstab($fstab);
fs::check_mounted($fstab);
-diskdrake::main($hds, {}, $in);
+diskdrake::main($hds, $lvms, {}, $in);
$in->exit(0);