From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 29 19:28:32 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 6E96716A4EE for ; Tue, 29 Mar 2005 19:28:32 +0000 (GMT) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BA2F43D1D for ; Tue, 29 Mar 2005 19:28:32 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 7340 invoked from network); 29 Mar 2005 19:28:31 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail28.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 29 Mar 2005 19:28:30 -0000 Received: from hydrogen.funkthat.com (nspslg@localhost.funkthat.com [127.0.0.1])j2TJSTGH047336; Tue, 29 Mar 2005 11:28:29 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id j2TJSTPS047335; Tue, 29 Mar 2005 11:28:29 -0800 (PST) Date: Tue, 29 Mar 2005 11:28:28 -0800 From: John-Mark Gurney To: mohamed aslan Message-ID: <20050329192828.GC37984@funkthat.com> Mail-Followup-To: mohamed aslan , FreeBSD Hackers References: <319cceca0503281001792baf39@mail.gmail.com> <42485A54.9000101@freebsdbrasil.com.br> <319cceca05032811484cb1a95b@mail.gmail.com> <42487982.30909@freebsdbrasil.com.br> <319cceca05032907411014a218@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <319cceca05032907411014a218@mail.gmail.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: FreeBSD Hackers Subject: Re: organization X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Mar 2005 19:28:32 -0000 mohamed aslan wrote this message on Tue, Mar 29, 2005 at 07:41 -0800: Also, learn not to top post... it looses context... > guys this is not a flame war > but the linux way in arranging the source file is really better than > freebsd way, it's a fact. well, as I stated in a previous email, if you make a statement without detailing your reasons, many people feel that you are attacking FreeBSD.. You should be impressed that you didn't get more flames... > however it's easy to rearrange it in 1 min as someone said before. > but i mean this step should be done from the core team. No, this step should only be done by the repo manager... and let the people who have extensive experience handle it.. in some cases, it means that we'll have to keep two copies of the files for a long time so that all branches are properly buildable, or we'll have to go back and change all the old branches to make sure they use the new location.. That's a large undertaking... > for example all fs has to go in a subdir called fs well, not even NetBSD does this, and they are "better organized" than FreeBSD is... but luckily, you can just do ls -d *fs and get them... Though the reasons that ufs and nfs and isofs aren't in the fs is hysterical raisins... It's been a while since I looked at this, but I was surprised how many were in the fs dir.. so, this is more of a minor point.. > arch specific file should go in subdir called arch/(arch name) > and so on . > if ls the files in freebsd sys subdir , u will got about 54 subdirs > and a makefile while linux contains about 15 subdirs only. Again, FreeBSD was originally only i386 (and pc64), and for a long time, only a two arch project.. it wasn't till a few years ago that we started to grow many new arches (amd64, ia64, sparc64, powerpc, arm, and others).. So, at the time, putting i386 (and pc98 and alpha) at the top level made sense, but now that we have so many, yes, it doesn't make sense, but at the same time the cost (as others have layed out) is expensive to do.... Also, as time permits, such as when new drivers are written, old drivers retires, drivers rewritten, things are improving... such as the dev dir, instead of putting the drivers in isa, they are moved into dev.. one example is sio.c.. that used to be an isa device driver, but now lives in dev/sio + the various bus attachments since it is no longer isa specific... > guys, don't take my words against bsd , i admit that the performace of > bsd is much better than linux and i'm planning to change to it as my > primary os. but we can get the good things from linux and through out > the bad ones. Or at least the ideas.. :) we can't take in too much GPL code into the tree.. then it'd just be pointless... :) -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."