]> www.infradead.org Git - users/hch/blktests.git/commitdiff
common/multipath-over-rdma: Log mkfs output
authorBart Van Assche <bvanassche@acm.org>
Tue, 19 May 2020 00:33:46 +0000 (17:33 -0700)
committerOmar Sandoval <osandov@osandov.com>
Tue, 4 Aug 2020 18:46:07 +0000 (11:46 -0700)
The mkfs output is important, hence log it in $FULL.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
common/multipath-over-rdma

index 676d2837fb0600997aea86802346ee925e1680c6..6ebf0c551b845f83206325f36e360fb69ce402a4 100644 (file)
@@ -504,9 +504,9 @@ create_filesystem() {
 
        case "$filesystem_type" in
                ext4)
-                       mkfs.ext4 -F -O ^has_journal -q "$dev";;
+                       mkfs.ext4 -F -O ^has_journal "$dev" >>"$FULL" 2>&1;;
                xfs)
-                       mkfs.xfs -f -q "$dev";;
+                       mkfs.xfs -f "$dev" >>"$FULL" 2>&1;;
                *)
                        return 1;;
        esac