|FUSE_SETUP(3)||Library Functions Manual||FUSE_SETUP(3)|
fuse_setup — FUSE
struct fuse *
argc, char **argv,
const struct fuse_operations
*ops, size_t size,
is a helper function that mounts a FUSE file system, creates a new FUSE
session and installs signal handlers that will try to unmount the file
system on SIGINT, SIGTERM or SIGHUP.
will parse the arguments specified by argv and if neither the
-odebug options were specified, detach from the
controlling terminal and run in the background. On success,
mt will be 1 if the file system operations will be
invoked in parallel (multi-threaded) or 0 if file system operations are
serialized. File systems that do not support multi-threaded operation must
-s argument in
argv. OpenBSD does not
currently support multi-threaded operation.
The file system will be mounted on mp, which is the directory specified by the first argument that does not match one of the options recognised by fuse_parse_cmdline(3).
fuse_operations is a struct of size size that contains pointers to FUSE file system operations. See fuse_new(3).
fuse_setup() will return NULL on
fuse_setup() function conforms to FUSE
fuse_setup() function first appeared
in OpenBSD 5.4.
|November 28, 2018||OpenBSD-current|