From owner-freebsd-arch Tue Apr 4 16:36:13 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 F04CC37B53F for ; Tue, 4 Apr 2000 16:36:06 -0700 (PDT) (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 BAA28944 for ; Wed, 5 Apr 2000 01:39:33 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id BAA24545 for freebsd-arch@freebsd.org; Wed, 5 Apr 2000 01:36:03 +0200 (CEST) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (Postfix) with ESMTP id BCBFD37BB8F for ; Tue, 4 Apr 2000 16:35:45 -0700 (PDT) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.9.3/8.9.3) id QAA02648; Tue, 4 Apr 2000 16:35:03 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp03.primenet.com, id smtpdAAA8qaWdf; Tue Apr 4 16:34:53 2000 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id QAA12839; Tue, 4 Apr 2000 16:35:24 -0700 (MST) From: Terry Lambert Message-Id: <200004042335.QAA12839@usr05.primenet.com> Subject: Re: Proposal: Union mount of fdesc on top of /dev To: des@flood.ping.uio.no (Dag-Erling Smorgrav) Date: Tue, 4 Apr 2000 23:35:23 +0000 (GMT) Cc: tlambert@primenet.com (Terry Lambert), phk@critter.freebsd.dk (Poul-Henning Kamp), chris@calldei.com, freebsd-arch@freebsd.org In-Reply-To: from "Dag-Erling Smorgrav" at Apr 04, 2000 05:54:28 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Terry Lambert 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... > > The other downside is that, unlike devfs contents, they'll get > > just as stale just as fast as /dev gets out of date with the > > currently running kernel and/or MAKEDEV. > > You expect the major/minor numbers for std{in,out,err} to change in > the foreseeable future? No. I expect the targets of symbolic links to move out from under them, unless someone (like /dev/MAKEDEV) accepts responsibility for keeping them up to date, form this day forward, for all eternity. I expect /dev/std* to eventually be recognized as "not useful" and find its butt deprecated in favor of "/dev/fd{0-2}". Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message