提交 c97217f6 编写于 作者: Z zhangwendi

change format option

Signed-off-by: Nzhangwendi <zhangwendi3@huawei.com>
上级 b1461662
...@@ -106,11 +106,11 @@ int DoFormat(const char *devPath, const char *fsType) ...@@ -106,11 +106,11 @@ int DoFormat(const char *devPath, const char *fsType)
} else if (strcmp(fsType, "f2fs") == 0) { } else if (strcmp(fsType, "f2fs") == 0) {
#ifdef __MUSL__ #ifdef __MUSL__
char *formatCmds[] = { char *formatCmds[] = {
"/bin/mkfs.f2fs", (char *)devPath, NULL "/bin/mkfs.f2fs", "-d1", "-O", "encrypt", "-O", "quota", "-O", "verity", (char *)devPath, NULL
}; };
#else #else
char *formatCmds[] = { char *formatCmds[] = {
"/bin/make_f2fs", (char *)devPath, NULL "/bin/make_f2fs", "-d1", "-O", "encrypt", "-O", "quota", "-O", "verity", (char *)devPath, NULL
}; };
#endif #endif
int argc = ARRAY_LENGTH(formatCmds); int argc = ARRAY_LENGTH(formatCmds);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册