NetBSD/lib/librefuse
pho 12a2d5638d Change the way how puffs_fuse_node_create() behaves.
In puffs "create" and "open" are two separate operations with
atomicity achieved by locking the parent vnode. In fuse, on the other
hand, "create" is actually a create-and-open-atomically and the open
flags (O_RDWR, O_APPEND, ...) are passed via fi.flags. So the only way
to emulate the fuse semantics is to open the file with dummy flags and
then immediately close it.

You might think that we could simply use fuse->op.mknod all the time
but no, that's not possible because most file systems nowadays expect
op.mknod to be called only for non-regular files and many don't even
support it.
2016-11-17 14:20:25 +00:00
..
fuse_opt.h Implement missing fuse_opt_add_opt(3) and fuse_opt_add_opt_escaped(3) 2016-11-14 17:19:29 +00:00
fuse.h
Makefile Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
refuse_opt.c Major rework of fuse_opt_parse(3) so that it supports all the functionality of the original function 2016-11-16 16:11:42 +00:00
refuse.3 fuse_opt_match(3): Support every form of templates, not just the simple strcmp case 2016-11-15 00:34:19 +00:00
refuse.c Change the way how puffs_fuse_node_create() behaves. 2016-11-17 14:20:25 +00:00
shlib_version
TODO Major rework of fuse_opt_parse(3) so that it supports all the functionality of the original function 2016-11-16 16:11:42 +00:00