LIBPERFUSE(2) System Calls Manual LIBPERFUSE(2)
perfuse_mount, perfuse_open -- Request a puffs(3) mount from perfused(8)
perfuse_mount(const char *source, const char *dir, const char
*filesystemtype, long int mountflags, void *data);
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
source The source file system that will appear in df(1) and mount(8)
listings. Defaults to /dev/fuse if NULL.
dir The file system mount point.
The file system type, as displayed by df(1) and mount(8).
Defaults to ``fuse'' if NULL.
This contains the same value as a mount(2) flags argument.
data This contains the same value as a mount(2) data argument.
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.
df(1), mount(2), open(2), mount(8), perfused(8)
The program was written by Emmanuel Dreyfus <manuATNetBSD.org>.
NetBSD 6.1.5 August 12, 2010 NetBSD 6.1.5