Re: sensors fun..



Poul-Henning Kamp wrote:
In message <47166BA5.1000100@xxxxxxxxxxxx>, 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.



_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"