From: Andrew Gaffney Date: Fri, 14 Nov 2008 20:00:20 +0000 (-0600) Subject: Pipe stderr for unionfs mount call to /dev/null to supress getcwd message X-Git-Tag: v3.4.10.902~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=74af3caa68abc65cfea4a5225c9bdb0bf29fef19;p=genkernel.git Pipe stderr for unionfs mount call to /dev/null to supress getcwd message --- diff --git a/ChangeLog b/ChangeLog index d0f466b..b462246 100644 --- 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 defaults/initrd.scripts: + Pipe stderr for unionfs mount call to /dev/null to supress getcwd message + 14 Nov 2008; Andrew Gaffney defaults/initrd.scripts, defaults/linuxrc: Call switch_root with full path diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index 4dfc4ad..9524a37 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -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