summaryrefslogtreecommitdiffstats
path: root/perl-install/lvm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-13 12:24:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-13 12:24:14 +0000
commit58f604869ed79dd73e01a4955efbadd97226635d (patch)
tree0c37f0a0abf0f710b4435f3feeb9dcb8e7ff084b /perl-install/lvm.pm
parent8afcf58402d2640d86353bd34ee2734530c2ab5b (diff)
downloaddrakx-backup-do-not-use-58f604869ed79dd73e01a4955efbadd97226635d.tar
drakx-backup-do-not-use-58f604869ed79dd73e01a4955efbadd97226635d.tar.gz
drakx-backup-do-not-use-58f604869ed79dd73e01a4955efbadd97226635d.tar.bz2
drakx-backup-do-not-use-58f604869ed79dd73e01a4955efbadd97226635d.tar.xz
drakx-backup-do-not-use-58f604869ed79dd73e01a4955efbadd97226635d.zip
lvm2 uses urandom
Diffstat (limited to 'perl-install/lvm.pm')
-rw-r--r--perl-install/lvm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/lvm.pm b/perl-install/lvm.pm
index 68e8f6e2f..f4a94179c 100644
--- a/perl-install/lvm.pm
+++ b/perl-install/lvm.pm
@@ -32,6 +32,7 @@ init();
sub init() {
eval { modules::load('dm-mod') };
+ devices::make('urandom');
run_program::run('lvm2', 'vgscan') if !-e '/etc/lvmtab';
run_program::run('lvm2', 'vgchange', '-a', 'y');
}