From ff5b1c8065c8a43add534892172f0aa5aba90f3d Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 28 Jan 2013 14:49:12 -0800 Subject: [PATCH] Quiet mkfs.ext2 output The -q option should quiet the mkfs.ext2 output but certain versions of e2fsprogs appear to ignore it. This can result in an extra 'done' message in the test output. To keep this noise from distracting just direct stdout to /dev/null. Signed-off-by: Brian Behlendorf --- scripts/common.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/common.sh.in b/scripts/common.sh.in index 531c798..c6d98f6 100644 --- a/scripts/common.sh.in +++ b/scripts/common.sh.in @@ -371,7 +371,7 @@ format() { # Force 4K blocksize, else mkfs.ext2 tries to use 8K, which # won't mount - /sbin/mkfs.${FSTYPE} -b 4096 -F -q ${DEVICE} || return 1 + /sbin/mkfs.${FSTYPE} -b 4096 -F -q ${DEVICE} >/dev/null || return 1 return 0 } -- 1.8.3.1