aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2008-11-14 14:00:20 -0600
committerAndrew Gaffney <agaffney@gentoo.org>2008-11-14 14:00:20 -0600
commit74af3caa68abc65cfea4a5225c9bdb0bf29fef19 (patch)
tree1d1cfa110049838edf8da3e11f5efaf550fb77ad /defaults/initrd.scripts
parentCall switch_root with full path (diff)
downloadgenkernel-74af3caa68abc65cfea4a5225c9bdb0bf29fef19.tar.gz
genkernel-74af3caa68abc65cfea4a5225c9bdb0bf29fef19.tar.bz2
genkernel-74af3caa68abc65cfea4a5225c9bdb0bf29fef19.zip
Pipe stderr for unionfs mount call to /dev/null to supress getcwd message
Diffstat (limited to 'defaults/initrd.scripts')
-rw-r--r--defaults/initrd.scripts2
1 files changed, 1 insertions, 1 deletions
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