From owner-freebsd-arch@FreeBSD.ORG Wed Oct 17 20:56:41 2007 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F082416A46E; Wed, 17 Oct 2007 20:56:41 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by mx1.freebsd.org (Postfix) with ESMTP id 8599513C4B3; Wed, 17 Oct 2007 20:56:41 +0000 (UTC) (envelope-from max@love2party.net) Received: from amd64.laiers.local (dslb-088-066-055-120.pools.arcor-ip.net [88.66.55.120]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1IiFk90Im8-0001Zm; Wed, 17 Oct 2007 22:43:54 +0200 From: Max Laier Organization: FreeBSD To: freebsd-arch@freebsd.org Date: Wed, 17 Oct 2007 22:43:45 +0200 User-Agent: KMail/1.9.7 References: <52116.1192652445@critter.freebsd.dk> In-Reply-To: <52116.1192652445@critter.freebsd.dk> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1356896.QVs3KXlYjZ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200710172243.51958.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1/uJ5UDxkoiF+0ah6OO8zdHIsNd/Lskx2ejgMf W8yO02w9DtAlLuuuSZ6OxSBpy3bvOSIoNgzVvObYyiqh7HK54q X8SV0tuzRFQV7mF3ekpHNo8bYexivlaidaFrsvdagE= Cc: Poul-Henning Kamp , Julian Elischer , "Constantine A. Murenin" Subject: Re: sensors fun.. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2007 20:56:42 -0000 --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--