From owner-freebsd-current Sun Jul 2 11:16:53 2000 Delivered-To: freebsd-current@freebsd.org Received: from gndrsh.dnsmgr.net (GndRsh.dnsmgr.net [198.145.92.4]) by hub.freebsd.org (Postfix) with ESMTP id 4213237BA49; Sun, 2 Jul 2000 11:16:45 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.9.3/8.9.3) id LAA10576; Sun, 2 Jul 2000 11:16:46 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <200007021816.LAA10576@gndrsh.dnsmgr.net> Subject: Re: /sys hierarchy In-Reply-To: <200007020736.AAA33902@john.baldwin.cx> from John Baldwin at "Jul 2, 2000 00:36:59 am" To: jhb@FreeBSD.ORG (John Baldwin) Date: Sun, 2 Jul 2000 11:16:46 -0700 (PDT) Cc: jkh@zippy.osd.bsdi.com (Jordan K. Hubbard), freebsd-current@FreeBSD.ORG, andrews@technologist.com (Will Andrews), obrien@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ... > I feel masochistic at the moment, so here's a suggestion. Feel free > to rip it all up to pieces, ya'll. And to start off: I like green > bikesheds. (I.e. let's settle on something sensible and not get I prefer blue ones :-) ... > > Ok (/me dons the asbestos suit, climbs into the concrete room and locks > the door.) Here is my proposal. It attempts to follow these loose guidelines: Let me go hunting for flame thrower and concrete saw :-) > - MD code under sys/${MACHINE_ARCH} > - device drivers (including bus's such as cam and usb) under sys/dev Perhaps, sys/bus and sys/dev, instead of lumping it all into one sys/dev. > - networking under net/ That one is going to be a really really hard one over the longrun, it is going to make the source code incompatible with every other BSD based source tree requireing path mangling anytime something is brought in from some place else. Especially look at what this would do to the /usr/include/net* hierarchy and how that effects userland code. Take a look at how many man pages this would impact (to get an idea do ``cd /usr/share/man/man3; zgrep netinet *''.) > sys/ ... > net/ - move existing contents to net/base or something similar ... > atm/ - formerly sys/netatm > natm/ - formerly sys/netatm Ooopsss... natm/ should go away, you already have a better place for that :-) > ncp/ - formerly sys/netncp > ns/ - formerly sus/netns ^ We have no sus directory :-) -- Rod Grimes - KD7CAX @ CN85sl - (RWG25) rgrimes@gndrsh.dnsmgr.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message