From owner-cvs-all Sun Dec 20 15:44:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA07044 for cvs-all-outgoing; Sun, 20 Dec 1998 15:44:26 -0800 (PST) (envelope-from owner-cvs-all@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, cvs-all@FreeBSD.ORG, cvs-committers@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-cvs-all@FreeBSD.ORG Precedence: bulk > 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 cvs-all" in the body of the message