From owner-freebsd-arch Tue Jul 25 14:31:18 2000 Delivered-To: freebsd-arch@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 22A3A37B6A1 for ; Tue, 25 Jul 2000 14:31:16 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id OAA31193; Tue, 25 Jul 2000 14:31:06 -0700 Date: Tue, 25 Jul 2000 14:30:27 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Poul-Henning Kamp Cc: freebsd-arch@FreeBSD.ORG Subject: Re: How much do we need the all-singing, all-dancing devfs? In-Reply-To: <14495.964560129@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > >Okay- then you'll get the same feel as the automounter gives when you do an ls > >of '/net/freefall.freebsd.org'- a bit of a hang as this occurs and requires > >any actual probing. > > No, there will not be a hang. The "ls /dev" will return only the currently > instantiated names. Think about the PTY driver. The ls should only > show the PTY's actually in use, not the potential 2000 ptys of the system. Okay- that I understand. > In the same way, if we did it my way, all the serial numbers and all > that would not appear in the ls, until you had actually open(2)'ed > a device using that name. Ie: > .... Okay. This I would find do-able. That's the real devfs then. A related problem is how to device discovery so you would know what name to give to disklabel or to put in /etc/fstab- but that's a separate discussion. Which then brings me back to where I came in the middle of this film- if this is gonna happen for FreeBSD 5.0 for sure, then I don't need to do the partial solution. I'm sure that there's much much much more discussion that needs to occur. -matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message