From: Daniel Golle Date: Thu, 20 Apr 2017 17:50:41 +0000 (+0200) Subject: libfstools: silence mkfs.{ext4,f2fs} X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=88d48d5e01f23ca983b77b9a154d5cadd9481e1b;p=project%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: