未验证 提交 409696aa 编写于 作者: O openharmony_ci 提交者: Gitee

!1278 fix format /data

Merge pull request !1278 from 张文迪/test
......@@ -107,11 +107,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.
先完成此消息的编辑!
想要评论请 注册