projects
/
oweals
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20c16fc
)
libfstools: silence mkfs.{ext4,f2fs}
author
Daniel Golle
<daniel@makrotopia.org>
Thu, 20 Apr 2017 17:50:41 +0000
(19:50 +0200)
committer
Daniel Golle
<daniel@makrotopia.org>
Thu, 20 Apr 2017 17:50:41 +0000
(19:50 +0200)
Reduce noise during firstboot when creating overlay fs on block
rootdisk devices.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libfstools/rootdisk.c
patch
|
blob
|
history
diff --git
a/libfstools/rootdisk.c
b/libfstools/rootdisk.c
index 9a5892ee68f92a574ac9fe2b0cb0746390182589..dd00c1b4e5b4aa9b748610fa3e93d301a67101a7 100644
(file)
--- 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: