提交 071399c2 编写于 作者: Z zhangwendi 提交者: 张文迪
上级 53bcb5d3
......@@ -105,11 +105,11 @@ int DoFormat(const char *devPath, const char *fsType)
} else if (strcmp(fsType, "f2fs") == 0) {
#ifdef __MUSL__
char *formatCmds[] = {
"/bin/mkfs.f2fs", (char *)devPath, NULL
"/bin/mkfs.f2fs", "-d1", "-O", "encrypt", "-O", "quota", "-O", "verity", (char *)devPath, NULL
};
#else
char *formatCmds[] = {
"/bin/make_f2fs", (char *)devPath, NULL
"/bin/make_f2fs", "-d1", "-O", "encrypt", "-O", "quota", "-O", "verity", (char *)devPath, NULL
};
#endif
int argc = ARRAY_LENGTH(formatCmds);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册