commit:     76f73d0380d01c4b2ee3474e0c09bb32c09f2211
Author:     Fernando Reyes (likewhoa) <design <AT> missionaccomplish <DOT> com>
AuthorDate: Fri May 30 01:03:37 2014 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Jun 23 23:11:14 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=76f73d03

Cleanup dd output from changes file creation

---
 defaults/initrd.scripts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index aded9ad..c5764f3 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -280,7 +280,7 @@ create_changefs() {
                then
                        bad_msg "Please give a size of at least 16 Mb"
                else
-                       dd if=/dev/zero of=${CHANGESMNT}/${AUFS_CHANGESFILE} 
bs=1M count=${size}
+                       dd if=/dev/zero of=${CHANGESMNT}/${AUFS_CHANGESFILE} 
bs=1M count=${size} &>/dev/null
                        if [ $? = '0' ]
                        then
                                good_msg "Creation of ${AUFS_CHANGESFILE}, 
${size} Mb on ${CHANGESDEV} successful, formatting it ext2"

Reply via email to