From owner-freebsd-arch Wed Mar 29 5:19:31 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id CD80537B615 for ; Wed, 29 Mar 2000 05:19:28 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id PAA18342 for ; Wed, 29 Mar 2000 15:22:21 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id PAA07392 for freebsd-arch@freebsd.org; Wed, 29 Mar 2000 15:19:11 +0200 (CEST) Received: from server.baldwin.cx (jobaldwi.campus.vt.edu [198.82.67.146]) by hub.freebsd.org (Postfix) with ESMTP id 7D2FA37B5D5 for ; Wed, 29 Mar 2000 05:18:58 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from john.baldwin.cx (john [10.0.0.2]) by server.baldwin.cx (8.9.3/8.9.3) with ESMTP id IAA89146; Wed, 29 Mar 2000 08:18:42 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-Id: <200003291318.IAA89146@server.baldwin.cx> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 29 Mar 2000 08:18:42 -0500 (EST) From: John Baldwin To: Robert Watson Subject: Re: Proposal: Union mount of fdesc on top of /dev Cc: freebsd-arch@freebsd.org, chris@calldei.com, Poul-Henning Kamp , Dag-Erling Smorgrav Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 29-Mar-00 Robert Watson wrote: > On 28 Mar 2000, Dag-Erling Smorgrav wrote: > >> Poul-Henning Kamp writes: >> > In message , Dag-Erling Smorgrav writes: >> > > Anyway, since /dev/std* never change, how about having fdesc *only* >> > > handle the /dev/fd/* stuff, so you can (non-union) mount it on /dev/fd >> > > and let /dev/std* be either symlinks to /dev/fd/[012] or plain old >> > > static device nodes like they're now? >> > Symlinks have my vote. >> >> The downside is they'll be broken if fdesc isn't mounted... > > I consider this to be a relatively serious impediment to a number of the > ``make it a file system'' solutions--they aren't mounted when you boot to > single user mode, and if you're booting to single user mode due to some > sort of failure, you may not be able to mount them during the recovery. Note that devfs is even more strongly susceptible to these same problems. If you are already using devfs, then I don't think you are incurring that much extra of a problem. Since the general feeling I've gotten is that we do want to move towards using devfs in the future, then solving this problem the right way will probably be a good way. Statically compiling devfs and fdescfs into the kernel might be one solution. When we do get devfs working, it will probably replace the existing static /dev if my understanding is correct, in which case every kernel will need devfs and fdescfs anyways, so statically compiling them in shouldn't be that much of a problem. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message