commit: fb87499d4a6ac506c9bb5af2f51461c860a05111
Author: Fernando Reyes (likewhoa) <design <AT> missionaccomplish <DOT> com>
AuthorDate: Fri May 30 02:06:42 2014 +0000
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Jun 23 23:11:15 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=fb87499d
Output cleaning
---
defaults/initrd.scripts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index 2fdfb4b..17777c9 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -335,7 +335,7 @@ setup_aufs() {
else
CHANGESDEV=${AUFS}
good_msg "mounting ${CHANGESDEV} to ${MEMORY} for aufs
support"
- mount -t auto ${CHANGESDEV} ${CHANGESMNT}
+ mount -t auto ${CHANGESDEV} ${CHANGESMNT} &>/dev/null
ret=$?
if [ "${ret}" -ne 0 ]
then
@@ -383,7 +383,7 @@ setup_aufs() {
# empty or we were not able to mount the storage device
if [ "${CDROOT}" -eq '1' -a ! -f
${CHANGESMNT}/${AUFS_CHANGESFILE} ]
then
- umount ${MEMORY}
+ umount ${MEMORY} &>/dev/null
bad_msg "failed to find ${AUFS_CHANGESFILE} file on
${CHANGESDEV}"
bad_msg "create an ext2 ${AUFS_CHANGESFILE} file on
this device if you wish to use it for aufs"
bad_msg "falling back to ramdisk based aufs for safety"