From owner-freebsd-hackers@FreeBSD.ORG Sat Oct 29 11:47:32 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 25A3016A41F for ; Sat, 29 Oct 2005 11:47:32 +0000 (GMT) (envelope-from rpaulo@fnop.net) Received: from pluricanal.net (mail.pluricanal.net [83.144.129.196]) by mx1.FreeBSD.org (Postfix) with SMTP id D60DB43D46 for ; Sat, 29 Oct 2005 11:47:30 +0000 (GMT) (envelope-from rpaulo@fnop.net) Received: (qmail 20781 invoked from network); 29 Oct 2005 12:20:54 -0000 Received: from unknown (HELO pxe-laptop.internal.fnop.net) (83.144.140.45) by mail.pluricanal.net with SMTP; 29 Oct 2005 12:20:54 -0000 Received: by pxe-laptop.internal.fnop.net (Postfix, from userid 1000) id 3A1EC1CDD1; Sat, 29 Oct 2005 11:59:03 +0100 (WEST) Date: Sat, 29 Oct 2005 11:59:03 +0100 From: Rui Paulo To: "M. Warner Losh" Message-ID: <20051029105902.GA741@pxe-laptop.internal.fnop.net> References: <200510242235.48403.hselasky@c2i.net> <20051026172252.GA23243@netbsd.org> <20051026181403.GF1702@neuron.fnop.net> <20051029.000142.95903921.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <20051029.000142.95903921.imp@bsdimp.com> User-Agent: Mutt/1.5.11 X-Mailman-Approved-At: Sat, 29 Oct 2005 16:38:08 +0000 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 11:47:32 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005.10.29 00:01:42 -0600, M. Warner Losh wrote: | 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: | : | >=20 | : | > Main features: | : | >=20 | : | > - Implements FreeBSD's devfs on NetBSD. | : |=20 | : | In the past, we (NetBSD folks) have talked about a devfs. One issue t= hat=20 | : | has come up (I'll be honest, I've raised it a lot) is a desire to ret= ain=20 | : | permission changes across boots, and to tie devices (when possible) t= o a=20 | : | device-specific attribute rather than a probe order. | : |=20 | : | Does FreeBSD's devfs support locators and persistent information? Are= =20 | : | there plans to support something like that, if not? | :=20 | : 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. | :=20 | : You could also use another directory for permissions, like /dev-state, | : but personally, I don't like this method. | :=20 | : http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html#persistence |=20 | 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. The other problem I see here is how devfs works in single user mode where devfsd is not started and no permissions are set. How does FreeBSD solve this problem? -- Rui Paulo --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (NetBSD) iD8DBQFDY1X2ZPqyxs9FH4QRAh6nAJ9K7/NKmBPwzEaaDwD+DP1knSEK+gCfSaus 0b8RkKTYjzs+lnTKJe/XhRY= =FxPZ -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--