From owner-freebsd-current@FreeBSD.ORG Sat Mar 6 09:28:28 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D915D106564A for ; Sat, 6 Mar 2010 09:28:28 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id B11268FC08 for ; Sat, 6 Mar 2010 09:28:28 +0000 (UTC) Received: by pwj1 with SMTP id 1so3199994pwj.13 for ; Sat, 06 Mar 2010 01:28:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=x7dxAxbJhTut30DqMxyusyZ//F3VFEIbJg35NkRqBWQ=; b=thtjgDBGzn9Qz3Jgqfi3+J/SJKNApYiXjmrvrJDml+bG+NITu3tWCb7qcDYirjSrzg /aBOGHex2kK657R8+Dhg992r84y4w4dAjGRekw9A8g4Rtw9ekfHBj/KP75CNDLJsdjnv fv0Muo+mkAe4UJkwMcD9WY3PdtGacxN16NS10= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=V5ovdLNNZd2lraps0UQIo9SB2zL1dieNVY300LSMGBHJSmzxNsszP9IOuoNLF7bIbB YpBSNgLv/dPeDTKwCaVNEavGyc3Iy6nO6QCLYIE/xUicRbpgVDZ1dl7VsoCGHuYaxRxS WGsLPBkPzKShCvijFPoWJ6lnio/p7xOKfTw4w= MIME-Version: 1.0 Received: by 10.142.66.23 with SMTP id o23mr1403042wfa.327.1267867704534; Sat, 06 Mar 2010 01:28:24 -0800 (PST) In-Reply-To: <619814.37821.qm@web59102.mail.re1.yahoo.com> References: <20100304191311.GE3171@lonesome.com> <619814.37821.qm@web59102.mail.re1.yahoo.com> Date: Sat, 6 Mar 2010 01:28:24 -0800 Message-ID: <7d6fde3d1003060128r46403703k8cead7f37f80e83a@mail.gmail.com> From: Garrett Cooper To: paradox Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: propose: all arch move into a separate dir X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2010 09:28:28 -0000 On Thu, Mar 4, 2010 at 11:33 AM, paradox wrote: > so, I really do not understand why it is so difficult to move a few folders in the shared folder is a big problem > as is done in openbsd and netbsd > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/?only_with_tag=MAIN > http://www.openbsd.org/cgi-bin/cvsweb/src/sys/arch/ > as you can see > > Well, maybe my thoughts will be understood, then when the folder /usr/src/sys/ number of architectures to increase to ~ 50, then keep them all in one folder /usr/src/sys/ this is just a file cesspool without logical structure I haven't looked at NetBSD or OpenBSD's directory layouts, but Linux is #ifdef hell to work through just to figure out what the frak is going on in the kernel. That seems to be an excellent example of what _not_ to do when organizing architecture specific files, and from what I saw it also allowed for a greater set of feature disparity between architectures because not all camps had to implement feature X.Y.Z as they had their own underlying code to do the common code; granted, that's probably the way it's setup in any architecture-specific sourcebase, but it's a lot more difficult to understand and maintain (or at least it was for me trying to figure out what was going on). FWIW, NetBSD's charter has been to run their OS on a number of architectures, not just a primary set of architectures; OpenBSD's charter differs -- if we all were NetBSD or OpenBSD, then we'd all be using the same thing. But we aren't and that's probably not going to change anytime soon [at least not without community backing and a considerable amount of engineering effort on someone or some group's behalf]. Thanks, -Garrett