DragonFly On-Line Manual Pages

Search: Section:  


REFUSE(3)	      DragonFly Library Functions Manual	     REFUSE(3)

NAME

refuse -- Re-implementation of a file system in userspace system

LIBRARY

File System in Userspace Convenience Library (librefuse, -lrefuse)

SYNOPSIS

#include <fuse.h> int fuse_main(int argc, char **argv, const struct fuse_operations *); int fuse_opt_add_arg(struct fuse_args *args, const char *arg); int fuse_opt_parse(struct fuse_args *args, void *userdata, const struct fuse_opt *descriptions, fuse_opt_proc_t processingfunc); int fuse_teardown(struct fuse *fuse, char *mountpoint); struct fuse * fuse_setup(int argc, char **argv, const struct fuse_operations *ops, size_t opssize, char **mountpoint, int *multithreaded, int *fd); int puffs_fuse_node_getattr(const char *path, struct stat *attrs); int puffs_fuse_node_readlink(const char *path, char *output, size_t outlen); int puffs_fuse_node_mknod(const char *path, mode_t permissions, dev_t devicenumber); int puffs_fuse_node_mkdir(const char *path, mode_t permissions); int puffs_fuse_node_rmdir(const char *path); int puffs_fuse_node_symlink(const char *path, const char *target); int puffs_fuse_node_rename(const char *from, const char *to); int puffs_fuse_node_link(const char *from, const char *to); int puffs_fuse_node_open(const char *path, struct fuse_file_info *fileinfo); int puffs_fuse_node_read(const char *path, char *buffer, size_t bufferlen, off_t startoffset, struct fuse_file_info *fileinfo); int puffs_fuse_node_write(const char *path, char *buffer, size_t bufferlen, off_t startoffset, struct fuse_file_info *fileinfo); int puffs_fuse_node_readdir(const char *path, void *data, fuse_fill_dir_t fillinfo, off_t offset, struct fuse_file_info *fileinfo); int puffs_fuse_node_create(const char *path, mode_t permissions, struct fuse_file_info *fileinfo);

DESCRIPTION

refuse is a reimplementation of the file system in user space subsystem. Operations are transported from the kernel virtual file system layer to the concrete implementation behind refuse, where they are processed and results are sent back to the kernel. It uses the framework provided by the puffs(3) subsystem, and, through that, the kernel interface provided by puffs(4).

SEE ALSO

puffs(3), puffs(4) Antti Kantee and Alistair Crooks, "ReFUSE: Userspace FUSE Reimplementation Using puffs", EuroBSDCon 2007, September 2007.

HISTORY

An unsupported experimental version of refuse first appeared in NetBSD 5.0.

AUTHORS

Alistair Crooks <agc@NetBSD.org> Antti Kantee <pooka@NetBSD.org>

BUGS

Many, legion, but well-loved. DragonFly 5.5 February 5, 2012 DragonFly 5.5

Search: Section: