From owner-freebsd-current Thu Dec 21 11:52:51 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA02780 for current-outgoing; Thu, 21 Dec 1995 11:52:51 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [192.216.222.3]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id LAA02772 for ; Thu, 21 Dec 1995 11:52:46 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by who.cdrom.com (8.6.12/8.6.11) with ESMTP id LAA01796 for ; Thu, 21 Dec 1995 11:52:44 -0800 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id GAA01616; Fri, 22 Dec 1995 06:48:12 +1100 Date: Fri, 22 Dec 1995 06:48:12 +1100 From: Bruce Evans Message-Id: <199512211948.GAA01616@godzilla.zeta.org.au> To: bde@zeta.org.au, phk@critter.tfs.com Subject: Re: conf.c and USL copyright at top Cc: current@FreeBSD.org, jkh@freefall.freebsd.org, jkh@time.cdrom.com Sender: owner-current@FreeBSD.org Precedence: bulk >> >> tty_conf.c is more interesting. It could be handled more dynamically >> >> like conf.c. There isn't as much to gain because the analogue of the >> >> major numbers -- the line discipline numbers -- can't be avoided because >> >> there is no by-name user interface. >> >> >Well, we solved the same thing in VFS with a linker-set... >> >> Linker sets can't be used to sove problems related to magic numbers in >> the user interface. >Filesystems have a magic number as well. And this doesn't work. Try `find / -o -fstype msdos'. Fixed in 4.4lite2 by using getvfsbyname() more. >What I meant was that we could register the line-disciplines along the >lines we register VFS's. And change the user interface...? Bruce