Communications kernel -> userland

Pawel Jakub Dawidek nick at garage.freebsd.pl
Sat Jul 19 00:47:08 PDT 2003


On Fri, Jul 18, 2003 at 03:47:05PM -0400, Marc Ramirez wrote:
+> I have a remote datastore that I want to present as a filesystem.  There
+> are two parts to this: fetching raw data over the network, and doing some
+> processing on the data.  For purposes of maintainability, I'd like to do
+> as little of this as possible inside the kernel, so I've currently got a
+> daemon to fetch and process the data, and then pipes it over a socket to
+> the kernel FS layer.

Your choices are:
- device,
- sysctl,
- syscall.

You need to think about what you exactly need and which options will be
the best. Creating new syscall isn't good idea, creating device is more
complicated than sysctl, but of course it's up to you and your needs.

-- 
Pawel Jakub Dawidek                       pawel at dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030719/f7a70efa/attachment.bin


More information about the freebsd-hackers mailing list