提交 2e47684d 编写于 作者: L li_zan

change config for fs2

上级 ee740f62
......@@ -437,11 +437,13 @@ STATIC VOID OsMountUserdata(const CHAR *fsType)
}
err = get_errno();
if (err == ENOENT) {
#ifdef LOSCFG_FS_FAT
ret = format(emmcUserdataDev, 0, FM_FAT32);
if (ret != LOS_OK) {
PRINT_ERR("Failed to format %s\n", emmcUserdataDev);
return;
}
#endif
ret = mount(emmcUserdataDev, userdataDir, fsType, 0, "umask=000");
if (ret != LOS_OK) {
err = get_errno();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册