From 5dbb6a28fc689c7b7fb6064b6df53e5bea5415d3 Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Mon, 11 Jul 2005 13:23:32 +0000 Subject: [PATCH] send stderr to /dev/null for lvm startup git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@243 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- generic/initrd.scripts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/initrd.scripts b/generic/initrd.scripts index 2209669..4a1043d 100644 --- a/generic/initrd.scripts +++ b/generic/initrd.scripts @@ -423,9 +423,9 @@ startVolumes() { if [ -e '/bin/vgscan' -a -e '/bin/vgchange' ] then good_msg "Scanning for Volume Groups" - /bin/vgscan --ignorelockingfailure --mknodes + /bin/vgscan --ignorelockingfailure --mknodes 2>/dev/null good_msg "Activating Volume Groups" - /bin/vgchange -ay --ignorelockingfailure + /bin/vgchange -ay --ignorelockingfailure 2>/dev/null # Disable EVMS since lvm2 is activated and they dont work together. if [ "${USE_EVMS2_NORMAL}" -eq '1' ] -- 2.26.2