From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 29 06:04:18 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D773116A41F for ; Sat, 29 Oct 2005 06:04:18 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 702A943D45 for ; Sat, 29 Oct 2005 06:04:18 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id j9T61cYe067498; Sat, 29 Oct 2005 00:01:43 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 29 Oct 2005 00:01:42 -0600 (MDT) Message-Id: <20051029.000142.95903921.imp@bsdimp.com> To: rpaulo@fnop.net From: "M. Warner Losh" In-Reply-To: <20051026181403.GF1702@neuron.fnop.net> References: <200510242235.48403.hselasky@c2i.net> <20051026172252.GA23243@netbsd.org> <20051026181403.GF1702@neuron.fnop.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sat, 29 Oct 2005 00:01:47 -0600 (MDT) Cc: freebsd-hackers@freebsd.org, tech-kern@NetBSD.org, wrstuden@NetBSD.org, hselasky@c2i.net Subject: Re: FreeBSD 5/6/7 kernel emulator for NetBSD 2.x X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Oct 2005 06:04:19 -0000 In message: <20051026181403.GF1702@neuron.fnop.net> Rui Paulo writes: : On 2005.10.26 10:22:52 -0700, Bill Studenmund wrote: : | On Mon, Oct 24, 2005 at 10:35:47PM +0200, Hans Petter Selasky wrote: : | > : | > Main features: : | > : | > - Implements FreeBSD's devfs on NetBSD. : | : | In the past, we (NetBSD folks) have talked about a devfs. One issue that : | has come up (I'll be honest, I've raised it a lot) is a desire to retain : | permission changes across boots, and to tie devices (when possible) to a : | device-specific attribute rather than a probe order. : | : | Does FreeBSD's devfs support locators and persistent information? Are : | there plans to support something like that, if not? : : I remember Linux's devfs having a configure file for that particular : objective. The user would set the permission flags in (I can't recall : if this is the real name) /etc/devfsd.conf and let devfsd do the job. : : You could also use another directory for permissions, like /dev-state, : but personally, I don't like this method. : : http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html#persistence FreeBSD also has a file that can be used to control the permissions and ownerships at runtime. The persistance can be there, but isn't there by default like the old nodes in /dev. Warner