From owner-freebsd-arch Fri Mar 17 21: 9:23 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 5D29B37B574 for ; Fri, 17 Mar 2000 21:09:21 -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 GAA09581 for ; Sat, 18 Mar 2000 06:11:56 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id GAA07007 for freebsd-arch@freebsd.org; Sat, 18 Mar 2000 06:09:18 +0100 (MET) Received: from holly.calldei.com (adsl-208-191-146-189.dsl.hstntx.swbell.net [208.191.146.189]) by hub.freebsd.org (Postfix) with ESMTP id 5DF8237B9A3 for ; Fri, 17 Mar 2000 21:07:14 -0800 (PST) (envelope-from chris@holly.calldei.com) Received: (from chris@localhost) by holly.calldei.com (8.9.3/8.9.3) id XAA77697 for freebsd-arch@FreeBSD.org; Fri, 17 Mar 2000 23:06:33 -0600 (CST) (envelope-from chris) Date: Fri, 17 Mar 2000 23:06:32 -0600 From: Chris Costello To: freebsd-arch@freebsd.org Subject: Proposal: Union mount of fdesc on top of /dev Message-ID: <20000317230632.I24374@holly.calldei.com> Reply-To: chris@calldei.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Now that I've committed a change which fixes that pesky lstat() commit in fdesc, I'd like to suggest that it replace the existing /dev/fd devices and /dev/std{err,in,out}. I've already got such a setup running on a test box: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 49583 25320 20297 56% / /dev/da0s1f 804119 697621 42169 94% /usr /dev/da0s1e 19815 840 17390 5% /var procfs 4 4 0 100% /proc fdesc 1 1 0 100% /dev And a little demonstration of the 'lightness' of fdesc over our oodles-of-device-nodes: total 0 crw------- 1 chris tty 5, 0 Mar 18 05:02 0 crw------- 1 chris tty 5, 0 Mar 18 05:02 1 crw------- 1 chris tty 5, 0 Mar 18 05:02 2 crw------- 1 chris tty 5, 0 Mar 18 05:02 3 crw------- 1 chris tty 5, 0 Mar 18 05:02 4 dr--r--r-- 2 root wheel 512 Mar 18 04:38 5 dr--r--r-- 2 root wheel 512 Mar 18 04:38 6 dr--r--r-- 2 root wheel 512 Mar 18 04:38 7 crw------- 1 chris tty 5, 0 Mar 18 05:02 9 Compared to our 63 device nodes, I think this is much nicer. Now I don't know about the file flags for 5, 6 and 7 here, or what the Right Thing(tm) to do is. Any feedback on either of these things? -- |Chris Costello |Using TSO is like kicking a dead whale down the beach. -- S. C. Johnson `------------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message