send stderr to /dev/null for lvm startup
authorEric Edgar <rocket@gentoo.org>
Mon, 11 Jul 2005 13:23:32 +0000 (13:23 +0000)
committerEric Edgar <rocket@gentoo.org>
Mon, 11 Jul 2005 13:23:32 +0000 (13:23 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@243 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/initrd.scripts

index 2209669e571b735e33dd734a59169aa1accf4a1b..4a1043d2c24585858bc1de4746318da86213a3e4 100644 (file)
@@ -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' ]