summaryrefslogtreecommitdiffstats
path: root/perl-install/lvm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-07-01 06:13:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-07-01 06:13:03 +0000
commit62a7841e3c62f2326c62131424a7ee59ae39db16 (patch)
tree820b0405fc711cd6620d965dbf101211df8148a3 /perl-install/lvm.pm
parent36ff13fecc898737614aafab4a2813a2f161f9fa (diff)
downloaddrakx-62a7841e3c62f2326c62131424a7ee59ae39db16.tar
drakx-62a7841e3c62f2326c62131424a7ee59ae39db16.tar.gz
drakx-62a7841e3c62f2326c62131424a7ee59ae39db16.tar.bz2
drakx-62a7841e3c62f2326c62131424a7ee59ae39db16.tar.xz
drakx-62a7841e3c62f2326c62131424a7ee59ae39db16.zip
better name
Diffstat (limited to 'perl-install/lvm.pm')
-rw-r--r--perl-install/lvm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm
index 327fe8177..165caa3ef 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -63,7 +63,7 @@ sub check {
1;
}
-sub get_vg {
+sub pv_to_vg {
my ($part) = @_;
my $dev = expand_symlinks(devices::make($part->{device}));
run_program::get_stdout('lvm2', 'pvs', '--noheadings', '-o', 'vg_name', $dev) =~ /(\S+)/ && $1;