From: Daniel Golle Date: Fri, 23 Sep 2016 03:10:42 +0000 (+0200) Subject: libfstools: properly label ext4 overlay X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f356d62ca0a514416f50949988977a38b46580b2;p=oweals%2Ffstools.git libfstools: properly label ext4 overlay Signed-off-by: Daniel Golle --- diff --git a/libfstools/rootdisk.c b/libfstools/rootdisk.c index 98c749d..d4ff201 100644 --- a/libfstools/rootdisk.c +++ b/libfstools/rootdisk.c @@ -264,7 +264,7 @@ static int rootdisk_volume_init(struct volume *v) if (rootdisk_use_f2fs(p)) snprintf(str, sizeof(str), "mkfs.f2fs -l rootfs_data %s", v->blk); else - snprintf(str, sizeof(str), "mkfs.ext4 %s", v->blk); + snprintf(str, sizeof(str), "mkfs.ext4 -L rootfs_data %s", v->blk); system(str); break; default: