Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2007 22:43:45 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-arch@freebsd.org
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, Julian Elischer <julian@elischer.org>, "Constantine A. Murenin" <cnst@freebsd.org>
Subject:   Re: sensors fun..
Message-ID:  <200710172243.51958.max@love2party.net>
In-Reply-To: <52116.1192652445@critter.freebsd.dk>
References:  <52116.1192652445@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1356896.QVs3KXlYjZ
Content-Type: text/plain;
  charset="iso-8859-6"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 17 October 2007, Poul-Henning Kamp wrote:
> In message <47166BA5.1000100@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 ?

What I like about the OpenBSD framework is, that you can get the sensor=20
data with basic tools.  What's wrong with "everything is a file"?  With a=20
file system you don't have to jump through any hoops to provide=20
concurrent access to more than one reader.  You could easily create=20
symlinks to map sensors to location.  You have means to restrict access=20
to certain sensors. etc. ...

I'm not sure that you can write the one daemon that suites all needs, but=20
if you provide all the sensors in a central place accessible through=20
basic tools it's easy to write a shell script that does exactly what you=20
need.

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart1356896.QVs3KXlYjZ
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBHFnQHXyyEoT62BG0RAv95AJ9/fOumHwX315YdyO7YGIP47jsykgCfRt4p
8vAP+9ePG9A3AvXH5IXwa3U=
=pFOY
-----END PGP SIGNATURE-----

--nextPart1356896.QVs3KXlYjZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710172243.51958.max>