From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 28 19:05:31 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A2A316A4CE for ; Mon, 28 Mar 2005 19:05:31 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C322043D39 for ; Mon, 28 Mar 2005 19:05:30 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [208.206.78.97] (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 652367A423; Mon, 28 Mar 2005 11:05:30 -0800 (PST) Message-ID: <4248557A.7000302@elischer.org> Date: Mon, 28 Mar 2005 11:05:30 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en, hu MIME-Version: 1.0 To: mohamed aslan References: <319cceca0503281001792baf39@mail.gmail.com> In-Reply-To: <319cceca0503281001792baf39@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org Subject: Re: organization X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 19:05:31 -0000 mohamed aslan wrote: >hi guys >it's my first post here, BTW i was a linux hacker and linux kernel >mailing list member for 3 years. > >and i've a comment here , i think the freebsd kernel source files >aren't well organized as linux ones. > > You are in some ways correct.. Unfortunatly, as our project is significantly older than Linux it has a lot more historical baggage.. The system layout has its roots in teh layout of the original Unix layout from the 1970s. The BSD source tree has lived through several complete generations of hardware. In the beginning for example, IO was one of 5 things.. DISCs (expensive) tape, Teletype (110baud paper printer) or card readers and punches. As things have changed, some of the original layout decisions have become rather outdated. For a slightly better example, check out the layout of the DragonflyBSD kernel sources. Matt took the oportunity to re-arange the FreeBSD sources when he imported them.. To some extent I agree with him (though not necessariy with his positioning of every file). It is possible that we could do with a reoganisation but it isn't a work-free job.. Matt took some time to get everything working again.. possible things that could be done.. Every driver in its own directory. INCLUDING the makefile for the module and the man pages.. All network protocols to be sunk into a "networking" subdirectory ditto for filesystems. Bus drivers being separated slightly from device drivers (though related (/sys/dev/bus?/usb?) The kern directory broken into functional sub parts. (proces control, scheduler, ipc etc) >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >