LIBPERFUSE(3) | Library Functions Manual | LIBPERFUSE(3) |
perfuse_mount
, perfuse_open
—
#include <perfuse.h>
int
perfuse_mount
(const
char *source, const char
*dir, const char
*filesystemtype, long int
mountflags, void
*data);
int
perfuse_open
(const
char *path, int
flags);
perfuse_mount
() sends a mount request to
perfused(8). It is intended as
a drop-in replacement for
mount(2) for FUSE file systems
daemons and libraries, so that they can work with
perfused(8).
The function prototype mimics Linux's mount(2), with the following arguments:
NULL
.NULL
.perfuse_open
() is a drop-in replacement
for the open(2) system call
where /dev/fuse is used. If
path is different than
/dev/fuse, perfuse_open
()
handles control to the regular
open(2).
perfuse_mount
() returns a file descriptor to the
/dev/fuse socket on success, and causes exit on
failure.
PERFUSE_OPTIONS
enable_access
,
disable_access
,
enable_creat
,
disable_creat
.PERFUSE_BUFSIZE
2162688
bytes, which is enough to queue 16 FUSE
packets of maximum 132 kB length.January 23, 2019 | NetBSD 9.0 |