mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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 <behlendorf1@llnl.gov>
This commit is contained in:
parent
2b7ab9d4d9
commit
ff5b1c8065
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user