From owner-freebsd-arch@FreeBSD.ORG Wed Oct 17 20:31:49 2007 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9767916A418 for ; Wed, 17 Oct 2007 20:31:49 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outC.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id 82DE613C455 for ; Wed, 17 Oct 2007 20:31:49 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Wed, 17 Oct 2007 13:31:47 -0700 X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id E9ED1126732; Wed, 17 Oct 2007 13:31:46 -0700 (PDT) Message-ID: <47167145.70705@elischer.org> Date: Wed, 17 Oct 2007 13:32:05 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Poul-Henning Kamp References: <52116.1192652445@critter.freebsd.dk> In-Reply-To: <52116.1192652445@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org, "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:31:49 -0000 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 ? 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. >