From owner-freebsd-arch Sun Dec 20 16:50:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA14707 for freebsd-arch-outgoing; Sun, 20 Dec 1998 16:50:25 -0800 (PST) (envelope-from owner-freebsd-arch@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA14701 for ; Sun, 20 Dec 1998 16:50:23 -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.1a/8.9.1) with ESMTP id BAA17049 for ; Mon, 21 Dec 1998 01:50:21 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id BAA11302 for freebsd-arch@freebsd.org; Mon, 21 Dec 1998 01:50:21 +0100 (MET) Received: from dingo.cdrom.com (castles336.castles.com [208.214.167.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA14332; Sun, 20 Dec 1998 16:47:33 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id QAA47965; Sun, 20 Dec 1998 16:45:18 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812210045.QAA47965@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Eivind Eklund cc: freebsd-arch@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk bsd.kern.mk src/sys/alpha/conf Makefile.alpha In-reply-to: Your message of "Mon, 21 Dec 1998 01:38:52 +0100." <19981221013852.B10676@follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Dec 1998 16:45:18 -0800 From: Mike Smith Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've moved this to -arch; while it's generally relevant, it's not really suited for discussion on the CVS lists... > > > bus/ # Bus-specific code > > > eisa/ > > > dev/ # Devices for this bus > > > # Type specifiers for drivers > > > > This isn't even learning from our current mistakes. (cf. everything in > > sys/pci that frontends for stuff in sys/i386/isa) > > This was intended for the front end stuff and drivers that are by > nature tied to a specific bus. Usually, the parts here should just > set up any magic bus-spaces or similar, and call things in /dev/. Ok; I think the 'dev' entry there threw us off. > > > This is just a very quick attempt at a hierarchially based layout; I'm > > > sure there are lots of possible improvements. > > > > The current drive is to tear the kernel into modules wherever possible; > > ultimately the kernel core will remain, and everything else will be > > modules. So: > > > > boot as current /sys/boot > > ... > > compile > > i386 not convinced of the requirement for > > ... arch subdirs here. > > alpha > > ... > > modules > > ... > > Not convinced of the requirement for sys/compile. For a fully > functional build system, architecture is only one of the relevant > axes, the others being the options used. Sure; I tend to think that the only meaningful, manageable uniqifer is the kernel ident anyway, so just "a scratch area" would suit me. > Apart from that, I have no problem with your suggested layout except > that it lack detail in a number of areas. I figured you'd already gone into more than enough detail; I only wanted to make the point that if we're cutting things up, we should look more than a few inches ahead. > > > > (Any ideas on how to get enough people to agree on change?) > > > > > > Not a clue. > > > > Almost impossible, unless you can sell them on losing the CVS history. > > We'd use repository copies, of course. That doesn't make it particularly easy to watch changes across the repo copy... > If we are going to do a rearrangement, we should do it just before we > create a new release tag. (I was thinking that with 3.0 released > right now was the worst time possible, and was going to attempt to > squash the discussion, but it really is the best - RELENG_2_2 is on > end-of-life, and RELENG_3_0 isn't put down yet). It's certainly less painful to do it at a pinch point, where there's only one branch to bend. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message From owner-freebsd-arch Mon Dec 21 00:25:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA21783 for freebsd-arch-outgoing; Mon, 21 Dec 1998 00:25:33 -0800 (PST) (envelope-from owner-freebsd-arch@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA21778 for ; Mon, 21 Dec 1998 00:25:31 -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.1a/8.9.1) with ESMTP id JAA21041 for ; Mon, 21 Dec 1998 09:25:28 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id JAA12903 for freebsd-arch@freebsd.org; Mon, 21 Dec 1998 09:25:28 +0100 (MET) Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id UAA01998; Sun, 20 Dec 1998 20:35:56 -0800 (PST) (envelope-from imp@village.org) Received: from harmony [10.0.0.6] by rover.village.org with esmtp (Exim 1.71 #1) id 0zrx4I-00014Z-00; Sun, 20 Dec 1998 21:35:42 -0700 Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.1/8.8.3) with ESMTP id VAA70245; Sun, 20 Dec 1998 21:34:14 -0700 (MST) Message-Id: <199812210434.VAA70245@harmony.village.org> To: Mike Smith Subject: Re: cvs commit: src/share/mk bsd.kern.mk src/sys/alpha/conf Makefile.alpha Cc: Eivind Eklund , freebsd-arch@FreeBSD.ORG In-reply-to: Your message of "Sun, 20 Dec 1998 16:45:18 PST." <199812210045.QAA47965@dingo.cdrom.com> References: <199812210045.QAA47965@dingo.cdrom.com> Date: Sun, 20 Dec 1998 21:34:14 -0700 From: Warner Losh Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <199812210045.QAA47965@dingo.cdrom.com> Mike Smith writes: > > > compile > > > i386 not convinced of the requirement for > > > ... arch subdirs here. > > > alpha > > > ... > > > modules > > > ... > > > > Not convinced of the requirement for sys/compile. For a fully > > functional build system, architecture is only one of the relevant > > axes, the others being the options used. > > Sure; I tend to think that the only meaningful, manageable uniqifer is > the kernel ident anyway, so just "a scratch area" would suit me. I'd like to see the ability to build multiple architetures from the same set of option files in a sane way. The current system of using compile/GENERIC won't let me build a i386 and an alpha kernel at the same time. I can build a GENERIC and a FOOBAR at the same time, and that too is very useful. So long as we don't break the include file interface for well known things (eg tcp, sys/foo.h, machine/bar.h, etc), then I don't care a whole lot where things live. How does this reorg jive with the efforts of the new-bus group? From the looks of things, the new-bus group is gutting the config layer of kernel and redoing it in a more dynamic manner. I would think that having a source tree layout that helps this would be a big win. On a religious note, I find arch/blah to be useful. Do an ls on NetBSD's arch directory and then imagine all those directories everywhere in the tree one needs architeture specific stuff. You have src/sys, src/lib/libc, and likely several others. As the number of architetures grow, things tend to get out of hand in a hurry. Don't know about bus/{isa,eisa,pcmcia,pccard,pci,tc,sbus,vme,smb,i2c}, however, but it seems like there are enough busses to make that worth while, even on the announced FreeBSD ports: alpha, i386 and sparc. When one adds the other architetures that have been talked about: mips, m68k, ppc even more buses will come into they fray. Finally, I think that Eivind is going to need to have a building source tree like the CAM folks did before this goes into the tree so that people can take a look at it and try various things with it to see what all breaks and what the designers hadn't anticipated. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message From owner-freebsd-arch Mon Dec 21 01:45:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA29448 for freebsd-arch-outgoing; Mon, 21 Dec 1998 01:45:59 -0800 (PST) (envelope-from owner-freebsd-arch@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA29441 for ; Mon, 21 Dec 1998 01:45:54 -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.1a/8.9.1) with ESMTP id KAA22463 for ; Mon, 21 Dec 1998 10:45:46 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id KAA13472 for freebsd-arch@freebsd.org; Mon, 21 Dec 1998 10:45:46 +0100 (MET) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA28308 for ; Mon, 21 Dec 1998 01:34:11 -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.1a/8.9.1) with ESMTP id KAA22304 for ; Mon, 21 Dec 1998 10:34:08 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id KAA13397 for freebsd-arch@freebsd.org; Mon, 21 Dec 1998 10:34:08 +0100 (MET) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by bitbox.follo.net (8.8.8/8.8.6) with ESMTP id XAA10547 for ; Sun, 20 Dec 1998 23:48:47 +0100 (MET) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id XAA15820 for ; Sun, 20 Dec 1998 23:48:41 +0100 (CET) Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA00904; Sun, 20 Dec 1998 14:44:51 -0800 (PST) (envelope-from owner-cvs-committers@FreeBSD.org) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA00867; Sun, 20 Dec 1998 14:44:38 -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.1a/8.9.1) with ESMTP id XAA15777; Sun, 20 Dec 1998 23:44:35 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id XAA10529; Sun, 20 Dec 1998 23:44:34 +0100 (MET) Message-ID: <19981220234419.A9903@follo.net> Date: Sun, 20 Dec 1998 23:44:19 +0100 From: Eivind Eklund To: Doug Rabson Cc: Bruce Evans , dfr@FreeBSD.ORG, alpha@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk bsd.kern.mk src/sys/alpha/conf Makefile.alpha References: <19981218161521.J93539@follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Doug Rabson on Sun, Dec 20, 1998 at 11:16:35AM +0000 X-Loop: FreeBSD.ORG Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [I'm providing this and the following message for reference. They were posted to the committers list yesterday. -EE] On Sun, Dec 20, 1998 at 11:16:35AM +0000, Doug Rabson wrote: > On Fri, 18 Dec 1998, Eivind Eklund wrote: > > Eivind, who would like a full re-org of the entire kernel source > > layout at some point. > > Any ideas on a decent layout? bus/ # Bus-specific code eisa/ dev/ # Devices for this bus # Type specifiers for drivers .. .. .. isa/ ... .. pci/ ... .. ppbus/ ... .. usb ... .. arch/ # Architecture-specific code alpha/ conf/ .. .. i386/ ... .. pc98 ... .. conf/ # Independent data for the kernel build system .. fs/ # File system code disk/ # ... for file systems that go direct to disk cd9660/ .. ext2/ .. ffs/ .. msdos/ .. .. lib/ # ... that is shared over several FSes ufs/ .. .. net/ # ... for network file systems coda/ .. nfs/ .. internal/ # ... for internal use deadfs .. fifofs .. specfs .. .. stacking/ # ... for stacking over others nullfs .. umapfs .. union .. .. virtual/ # ... for FSes that create virtual spaces devfs/ .. kernfs .. portal .. procfs .. fdesc .. .. .. net/ # Networking code, all layers (except drivers) atalk/ .. atm/ .. ether/ .. inet/ .. ipx/ .. .. dev/ # Device drivers net/ # Network interface drivers .. video/ .. audio/ .. cdrom/ .. scsi/ .. misc/ .. .. pesudo/ ccd/ .. vn/ .. .. misc/ cam/ .. ddb/ .. posix4/ .. kern/ .. libkern/ .. vm/ .. .. include/ .. ... and 'boot' and 'compile' outside the kernel tree. This is just a very quick attempt at a hierarchially based layout; I'm sure there are lots of possible improvements. > (Any ideas on how to get enough people to agree on change?) Not a clue. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message From owner-freebsd-arch Mon Dec 21 02:03:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01445 for freebsd-arch-outgoing; Mon, 21 Dec 1998 02:03:15 -0800 (PST) (envelope-from owner-freebsd-arch@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA01440 for ; Mon, 21 Dec 1998 02:03:10 -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.1a/8.9.1) with ESMTP id LAA22812 for ; Mon, 21 Dec 1998 11:03:03 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id LAA13612 for freebsd-arch@freebsd.org; Mon, 21 Dec 1998 11:03:03 +0100 (MET) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA28292 for ; Mon, 21 Dec 1998 01:34:05 -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.1a/8.9.1) with ESMTP id KAA22296 for ; Mon, 21 Dec 1998 10:34:00 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id KAA13393 for freebsd-arch@freebsd.org; Mon, 21 Dec 1998 10:33:59 +0100 (MET) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by bitbox.follo.net (8.8.8/8.8.6) with ESMTP id AAA10979 for ; Mon, 21 Dec 1998 00:46:52 +0100 (MET) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id AAA16527 for ; Mon, 21 Dec 1998 00:46:51 +0100 (CET) Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07058; Sun, 20 Dec 1998 15:44:27 -0800 (PST) (envelope-from owner-cvs-committers@FreeBSD.org) Received: from dingo.cdrom.com (castles336.castles.com [208.214.167.36]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA07035; Sun, 20 Dec 1998 15:44:12 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id PAA47553; Sun, 20 Dec 1998 15:41:58 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199812202341.PAA47553@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Eivind Eklund cc: Doug Rabson , Bruce Evans , dfr@FreeBSD.ORG, alpha@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk bsd.kern.mk src/sys/alpha/conf Makefile.alpha In-reply-to: Your message of "Sun, 20 Dec 1998 23:44:19 +0100." <19981220234419.A9903@follo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Dec 1998 15:41:57 -0800 From: Mike Smith Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [Reference message from cvs-committers. -EE] > On Sun, Dec 20, 1998 at 11:16:35AM +0000, Doug Rabson wrote: > > On Fri, 18 Dec 1998, Eivind Eklund wrote: > > > Eivind, who would like a full re-org of the entire kernel source > > > layout at some point. > > > > Any ideas on a decent layout? Let's qualify that and say "a decent layout that takes our current architectural tendancies into account" > bus/ # Bus-specific code > eisa/ > dev/ # Devices for this bus > # Type specifiers for drivers This isn't even learning from our current mistakes. (cf. everything in sys/pci that frontends for stuff in sys/i386/isa) > This is just a very quick attempt at a hierarchially based layout; I'm > sure there are lots of possible improvements. The current drive is to tear the kernel into modules wherever possible; ultimately the kernel core will remain, and everything else will be modules. So: boot as current /sys/boot ... compile i386 not convinced of the requirement for ... arch subdirs here. alpha ... modules ... conf config metainformation ... kern core 'kernel module' arch alpha i386 vm core vm primitives ... net core networking (since removing it ... from the kernel is almost impossible) modules bus bus handlers, arch independent where root possible isa pci pccard cardbus scsi ppbus iic ... device device drivers, one directory per ... driver vfs filesystems, perhaps organised as per ... Eivind's suggestion syscall loadable syscalls ... misc "other stuff" ... > > (Any ideas on how to get enough people to agree on change?) > > Not a clue. Almost impossible, unless you can sell them on losing the CVS history. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message From owner-freebsd-arch Mon Dec 21 06:54:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA01200 for freebsd-arch-outgoing; Mon, 21 Dec 1998 06:54:09 -0800 (PST) (envelope-from owner-freebsd-arch@FreeBSD.ORG) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA01195 for ; Mon, 21 Dec 1998 06:54:06 -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.1a/8.9.1) with ESMTP id PAA10672 for ; Mon, 21 Dec 1998 15:54:03 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id PAA14683 for freebsd-arch@freebsd.org; Mon, 21 Dec 1998 15:54:02 +0100 (MET) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA29694 for ; Mon, 21 Dec 1998 06:39:50 -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.1a/8.9.1) with ESMTP id PAA10331 for ; Mon, 21 Dec 1998 15:38:14 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id PAA14623 for arch@freebsd.org; Mon, 21 Dec 1998 15:38:14 +0100 (MET) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by bitbox.follo.net (8.8.8/8.8.6) with ESMTP id BAA11268 for ; Mon, 21 Dec 1998 01:47:07 +0100 (MET) Received: from hub.freebsd.org (hub.FreeBSD.ORG [204.216.27.18]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id BAA17021 for ; Mon, 21 Dec 1998 01:47:05 +0100 (CET) Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA13806; Sun, 20 Dec 1998 16:39:05 -0800 (PST) (envelope-from owner-cvs-committers@FreeBSD.org) Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13755; Sun, 20 Dec 1998 16:38:58 -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.1a/8.9.1) with ESMTP id BAA16943; Mon, 21 Dec 1998 01:38:54 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id BAA11231; Mon, 21 Dec 1998 01:38:53 +0100 (MET) Message-ID: <19981221013852.B10676@follo.net> Date: Mon, 21 Dec 1998 01:38:52 +0100 From: Eivind Eklund To: Mike Smith Cc: arch@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk bsd.kern.mk src/sys/alpha/conf Makefile.alpha References: <19981220234419.A9903@follo.net> <199812202341.PAA47553@dingo.cdrom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199812202341.PAA47553@dingo.cdrom.com>; from Mike Smith on Sun, Dec 20, 1998 at 03:41:57PM -0800 X-Loop: FreeBSD.ORG Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [More moved context. -EE] > > bus/ # Bus-specific code > > eisa/ > > dev/ # Devices for this bus > > # Type specifiers for drivers > > This isn't even learning from our current mistakes. (cf. everything in > sys/pci that frontends for stuff in sys/i386/isa) This was intended for the front end stuff and drivers that are by nature tied to a specific bus. Usually, the parts here should just set up any magic bus-spaces or similar, and call things in /dev/. > > This is just a very quick attempt at a hierarchially based layout; I'm > > sure there are lots of possible improvements. > > The current drive is to tear the kernel into modules wherever possible; > ultimately the kernel core will remain, and everything else will be > modules. So: > > boot as current /sys/boot > ... > compile > i386 not convinced of the requirement for > ... arch subdirs here. > alpha > ... > modules > ... Not convinced of the requirement for sys/compile. For a fully functional build system, architecture is only one of the relevant axes, the others being the options used. Apart from that, I have no problem with your suggested layout except that it lack detail in a number of areas. > > > (Any ideas on how to get enough people to agree on change?) > > > > Not a clue. > > Almost impossible, unless you can sell them on losing the CVS history. We'd use repository copies, of course. If we are going to do a rearrangement, we should do it just before we create a new release tag. (I was thinking that with 3.0 released right now was the worst time possible, and was going to attempt to squash the discussion, but it really is the best - RELENG_2_2 is on end-of-life, and RELENG_3_0 isn't put down yet). Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message