netbsd man page for libperfuse

Query: libperfuse

OS: netbsd

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LIBPERFUSE(2)						      BSD System Calls Manual						     LIBPERFUSE(2)

NAME
perfuse_mount, perfuse_open -- Request a puffs(3) mount from perfused(8)
LIBRARY
library ``libperfuse''
SYNOPSIS
#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);
DESCRIPTION
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: 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. filesystemtype The file system type, as displayed by df(1) and mount(8). Defaults to ``fuse'' if NULL. mountflags 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).
RETURN VALUES
perfuse_mount() returns a file descriptor to the /dev/fuse socket on success, and causes exit on failure.
SEE ALSO
df(1), mount(2), open(2), mount(8), perfused(8)
AUTHORS
The program was written by Emmanuel Dreyfus <manu@NetBSD.org>.
BSD
August 12, 2010 BSD
Related Man Pages
mount(2) - redhat
lofs(7fs) - opensolaris
perfused(8) - netbsd
fd(4) - osf1
mount.nfs(8) - linux
Similar Topics in the Unix Linux Community
mount point
For Terracotta, a year of open source has been good for business
unionfs-fuse 0.19 (Default branch)
unionfs-fuse 0.21 (Default branch)
USN-892-1: FUSE vulnerability