diff options
author | hselasky <hselasky@FreeBSD.org> | 2014-05-23 08:46:28 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2014-05-23 08:46:28 +0000 |
commit | 672c28ec684b6ca658c660c9ef90db259d6ae6fb (patch) | |
tree | a19650860d3b0bdcee196924c8202be65b2b24b1 /etc/mtree/BSD.include.dist | |
parent | a5bffeb3e9966192d80e808b770166ce4cd98bbf (diff) | |
download | FreeBSD-src-672c28ec684b6ca658c660c9ef90db259d6ae6fb.zip FreeBSD-src-672c28ec684b6ca658c660c9ef90db259d6ae6fb.tar.gz |
Initial import of character device in userspace support for FreeBSD.
The CUSE library is a wrapper for the devfs kernel functionality which
is exposed through /dev/cuse . In order to function the CUSE kernel
code must either be enabled in the kernel configuration file or loaded
separately as a module. Currently none of the committed items are
connected to the default builds, except for installing the needed
header files. The CUSE code will be connected to the default world and
kernel builds in a follow-up commit.
The CUSE module was written by Hans Petter Selasky, somewhat inspired
by similar functionality found in FUSE. The CUSE library can be used
for many purposes. Currently CUSE is used when running Linux kernel
drivers in user-space, which need to create a character device node to
communicate with its applications. CUSE has full support for almost
all devfs functionality found in the kernel:
- kevents
- read
- write
- ioctl
- poll
- open
- close
- mmap
- private per file handle data
Requested by several people. Also see "multimedia/cuse4bsd-kmod" in
ports.
Diffstat (limited to 'etc/mtree/BSD.include.dist')
-rw-r--r-- | etc/mtree/BSD.include.dist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/mtree/BSD.include.dist b/etc/mtree/BSD.include.dist index 7436eac..bdd628c 100644 --- a/etc/mtree/BSD.include.dist +++ b/etc/mtree/BSD.include.dist @@ -162,6 +162,8 @@ .. .. fs + cuse + .. devfs .. fdescfs |