Date: Fri, 17 Mar 2000 23:06:32 -0600 From: Chris Costello <chris@calldei.com> To: freebsd-arch@freebsd.org Subject: Proposal: Union mount of fdesc on top of /dev Message-ID: <20000317230632.I24374@holly.calldei.com>
next in thread | raw e-mail | index | archive | help
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 <chris@calldei.com>
|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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000317230632.I24374>
