From: Brian Behlendorf Date: Mon, 28 Jan 2013 22:49:12 +0000 (-0800) Subject: Quiet mkfs.ext2 output X-Git-Tag: zfs-0.6.0-rc14~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff5b1c8065c8a43add534892172f0aa5aba90f3d;p=zfs 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 --- diff --git a/scripts/common.sh.in b/scripts/common.sh.in index 531c7983b..c6d98f66b 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 }