sensors fun..

Julian Elischer julian at elischer.org
Wed Oct 17 13:31:49 PDT 2007


Poul-Henning Kamp wrote:
> In message <47166BA5.1000100 at elischer.org>, Julian Elischer writes:
> 
>>> Having a userland 
>>> interface also makes it easier to have backends that are entirely in 
>>> userland.
>>>
>> maybe a loopback filesystem
> 
> Just what is it that is so enticing about the kernel ?  Why not simply
> pass it to a daemon ?

Becuause you can not open and do a directory listing on a process but you can 
on something that is presented as a file system.

The advantage is that all the heavy lifting is done in user space
and the kernel only supplies a convenient delivery mechanism.
Pipes are also a kernel supplied delivery mechanism but they are not
random access, where a file system is. Otherwise they are similar.

> 



More information about the freebsd-arch mailing list