未验证 提交 a9b9fae2 编写于 作者: A Austin 提交者: Gitee

update zh-cn/device-dev/kernel/kernel-small-bundles-fs-virtual.md.

Signed-off-by: NAustin <liaozhiqi7@huawei.com>
上级 ab748984
......@@ -62,43 +62,43 @@ OpenHarmony内核中,VFS框架是通过在内存中的树结构来实现的,
| 分类 | 接口**名称** | 功能 | FAT | JFFS2 | NFS | TMPFS | PROCFS |
| -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- |
| 文件操作 | open | 打开文件 | √ | √ | √ | √ | √ |
| read/pread/readv/preadv | 读取文件 | √ | √ | √ | √ | √ |
| write/pwrite/writev/pwritev | 写入文件 | √ | √ | √ | √ | √ |
| lseek | 设置文件偏移 | √ | √ | √ | √ | × |
| close | 关闭文件 | √ | √ | √ | √ | √ |
| unlink | 删除文件 | √ | √ | √ | √ | × |
| fstat | 查询文件信息 | √ | √ | √ | √ | √ |
| fallocate | 预分配大小 | √ | × | × | × | × |
| truncate | 文件截断 | √ | √ | × | √ | × |
| link | 创建硬链接 | × | √ | × | × | × |
| symlink | 创建软链接 | √ | √ | × | × | × |
| readlink | 读取软链接 | √ | √ | × | × | × |
| dup | 复制文件句柄 | √ | √ | √ | √ | √ |
| fsync | 文件内容刷入设备 | √ | × | × | × | × |
| ioctl | 设备控制 | × | × | × | √ | × |
| fcntl | 文件控制操作 | √ | √ | √ | √ | √ |
| | read/pread/readv/preadv | 读取文件 | √ | √ | √ | √ | √ |
| | write/pwrite/writev/pwritev | 写入文件 | √ | √ | √ | √ | √ |
| | lseek | 设置文件偏移 | √ | √ | √ | √ | × |
| | close | 关闭文件 | √ | √ | √ | √ | √ |
| | unlink | 删除文件 | √ | √ | √ | √ | × |
| | fstat | 查询文件信息 | √ | √ | √ | √ | √ |
| | fallocate | 预分配大小 | √ | × | × | × | × |
| | truncate | 文件截断 | √ | √ | × | √ | × |
| | link | 创建硬链接 | × | √ | × | × | × |
| | symlink | 创建软链接 | √ | √ | × | × | × |
| | readlink | 读取软链接 | √ | √ | × | × | × |
| | dup | 复制文件句柄 | √ | √ | √ | √ | √ |
| | fsync | 文件内容刷入设备 | √ | × | × | × | × |
| | ioctl | 设备控制 | × | × | × | √ | × |
| | fcntl | 文件控制操作 | √ | √ | √ | √ | √ |
| 目录操作 | mkdir | 创建目录 | √ | √ | √ | √ | × |
| opendir | 打开目录 | √ | √ | √ | √ | √ |
| readdir | 读取目录 | √ | √ | √ | √ | √ |
| closedir | 关闭目录 | √ | √ | √ | √ | √ |
| telldir | 获取目录偏移 | √ | √ | √ | √ | √ |
| seekdir | 设置目录偏移 | √ | √ | √ | √ | √ |
| rewinddir | 重置目录偏移 | √ | √ | √ | √ | × |
| scandir | 读取目录数据 | √ | √ | √ | √ | √ |
| rmdir | 删除目录 | √ | √ | √ | √ | × |
| chdir | 切换当前路径 | √ | √ | √ | √ | √ |
| getcwd | 获取当前路径 | √ | √ | √ | √ | √ |
| realpath | 相对/绝对路径转换 | √ | √ | √ | √ | √ |
| rename | 文件/目录重命名 | √ | √ | √ | √ | × |
| chmod | 修改文件/目录属性 | √ | √ | × | × | × |
| chown | 修改文件/目录所有者 | √ | √ | × | × | × |
| stat/lstat | 查询文件/目录信息 | √ | √ | √ | √ | √ |
| access | 查询文件/目录访问权限 | √ | √ | √ | √ | √ |
| | opendir | 打开目录 | √ | √ | √ | √ | √ |
| | readdir | 读取目录 | √ | √ | √ | √ | √ |
| | closedir | 关闭目录 | √ | √ | √ | √ | √ |
| | telldir | 获取目录偏移 | √ | √ | √ | √ | √ |
| | seekdir | 设置目录偏移 | √ | √ | √ | √ | √ |
| | rewinddir | 重置目录偏移 | √ | √ | √ | √ | × |
| | scandir | 读取目录数据 | √ | √ | √ | √ | √ |
| | rmdir | 删除目录 | √ | √ | √ | √ | × |
| | chdir | 切换当前路径 | √ | √ | √ | √ | √ |
| | getcwd | 获取当前路径 | √ | √ | √ | √ | √ |
| | realpath | 相对/绝对路径转换 | √ | √ | √ | √ | √ |
| | rename | 文件/目录重命名 | √ | √ | √ | √ | × |
| | chmod | 修改文件/目录属性 | √ | √ | × | × | × |
| | chown | 修改文件/目录所有者 | √ | √ | × | × | × |
| | stat/lstat | 查询文件/目录信息 | √ | √ | √ | √ | √ |
| | access | 查询文件/目录访问权限 | √ | √ | √ | √ | √ |
| 分区操作 | mount | 挂载分区 | √ | √ | √ | √ | √ |
| umount | 卸载分区 | √ | √ | √ | √ | × |
| statfs | 查询挂载分区信息 | √ | √ | √ | √ | √ |
| format | 格式化分区 | √ | × | × | × | × |
| sync | 分区内容刷入设备 | √ | × | × | × | × |
| | umount | 卸载分区 | √ | √ | √ | √ | × |
| | statfs | 查询挂载分区信息 | √ | √ | √ | √ | √ |
| | format | 格式化分区 | √ | × | × | × | × |
| | sync | 分区内容刷入设备 | √ | × | × | × | × |
### 开发流程
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册