diff options
author | Daniel Golle <daniel@makrotopia.org> | 2017-04-20 19:50:41 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2017-04-20 19:50:41 +0200 |
commit | 88d48d5e01f23ca983b77b9a154d5cadd9481e1b (patch) | |
tree | 4d804f8c5dc28c2d28a21d50b8500f1648316880 /libfstools/rootdisk.c | |
parent | 20c16fc5fec00fdae547f083a822a7f1bd67d143 (diff) | |
download | fstools-88d48d5e01f23ca983b77b9a154d5cadd9481e1b.tar.gz |
libfstools: silence mkfs.{ext4,f2fs}
Reduce noise during firstboot when creating overlay fs on block
rootdisk devices.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'libfstools/rootdisk.c')
-rw-r--r-- | libfstools/rootdisk.c | 4 |
1 files 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: |