From cddc8306443b4d3941283402a8dba36808fbfa89 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 20 Apr 2017 19:50:41 +0200 Subject: [PATCH] libfstools: silence mkfs.{ext4,f2fs} Reduce noise during firstboot when creating overlay fs on block rootdisk devices. Signed-off-by: Daniel Golle --- libfstools/rootdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfstools/rootdisk.c b/libfstools/rootdisk.c index 9a5892e..dd00c1b 100644 --- a/libfstools/rootdisk.c +++ b/libfstools/rootdisk.c @@ -268,9 +268,9 @@ static int rootdisk_volume_init(struct volume *v) case FS_NONE: ULOG_INFO("rootdisk overlay filesystem has not been formatted yet\n"); if (rootdisk_use_f2fs(p)) - snprintf(str, sizeof(str), "mkfs.f2fs -l rootfs_data %s", v->blk); + snprintf(str, sizeof(str), "mkfs.f2fs -q -l rootfs_data %s", v->blk); else - snprintf(str, sizeof(str), "mkfs.ext4 -L rootfs_data %s", v->blk); + snprintf(str, sizeof(str), "mkfs.ext4 -q -L rootfs_data %s", v->blk); ret = system(str); break; default: -- 2.25.1