From: Daniel Golle Date: Thu, 20 Apr 2017 17:50:41 +0000 (+0200) Subject: libfstools: silence mkfs.{ext4,f2fs} X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cddc8306443b4d3941283402a8dba36808fbfa89;p=oweals%2Ffstools.git libfstools: silence mkfs.{ext4,f2fs} Reduce noise during firstboot when creating overlay fs on block rootdisk devices. Signed-off-by: Daniel Golle --- 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: