Pipe stderr for unionfs mount call to /dev/null to supress getcwd message
authorAndrew Gaffney <agaffney@gentoo.org>
Fri, 14 Nov 2008 20:00:20 +0000 (14:00 -0600)
committerAndrew Gaffney <agaffney@gentoo.org>
Fri, 14 Nov 2008 20:00:20 +0000 (14:00 -0600)
ChangeLog
defaults/initrd.scripts

index d0f466b2da3138b7bee3d1f72bd41c4240a6ef33..b462246701d4a57783a9da3bb75c5ebcd28ab283 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
 # Distributed under the GPL v2
 
+  14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
+  Pipe stderr for unionfs mount call to /dev/null to supress getcwd message
+
   14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts,
   defaults/linuxrc:
   Call switch_root with full path
index 4dfc4ad20a542fb8195878092224467118f7a896..9524a37eabc94bbbfae533d0c4318a775b107de8 100644 (file)
@@ -999,7 +999,7 @@ setup_unionfs() {
                mkdir -p ${UNION}
 #              mkdir -p $CHANGES
 #              mount -t unionfs -o dirs=$CHANGES=rw unionfs ${UNION}
-               unionfs -o allow_other,cow,noinitgroups,suid,dev ${rw_dir}=RW:${ro_dir}=RO ${UNION}
+               unionfs -o allow_other,cow,noinitgroups,suid,dev ${rw_dir}=RW:${ro_dir}=RO ${UNION} 2>/dev/null
                ret=$?
                if [ "${ret}" -ne 0 ]
                then