Open Flags 调研
req, fuse_ino_t ino, struct fuse_file_info *fi)© XXX Page 6 of 23 Open a file Open flags are available in fi->flags. The following rules apply. Creation (O_CREAT, O_EXCL, O_NOCTTY) flags will be filtered flag (and let the kernel handle it), or return an error (indicating that reliably O_APPEND is not available). Filesystem may store an arbitrary file handle (pointer, index, etc) in fi->fh, and use this in pen()、opendir()操作时填充进 fuse_file_info结构中,在后续操作中直接使用: struct fuse_file_info { /** Open flags. Available in open() and release() */ int flags; /** In case of a write operation indicates if this was0 码力 | 23 页 | 524.47 KB | 5 月前3
共 1 条
- 1