From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NmrhG-00027t-J5 for garchives@archives.gentoo.org; Wed, 03 Mar 2010 16:45:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE9E0E0AC9; Wed, 3 Mar 2010 16:45:10 +0000 (UTC) Received: from mail-ew0-f222.google.com (mail-ew0-f222.google.com [209.85.219.222]) by pigeon.gentoo.org (Postfix) with ESMTP id 89F73E0AC9 for ; Wed, 3 Mar 2010 16:45:10 +0000 (UTC) Received: by ewy22 with SMTP id 22so1233052ewy.26 for ; Wed, 03 Mar 2010 08:45:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=BV35yZjQTav6f2LbZTbnOrCV+i9iuA7l84Yf3TDoObk=; b=fuLd5ceYvx2cSx4P9y2Lj4oNZPVwWgqSVUrACCqz6avEOGLa+8F74bgkzjJ+Pk+hjK tPfxXcnPxMygOH5YZUNOxXi6lNwY8bf4NbBCaiYP+jrUYa+WjZVNz4GhDkwrd/Ew2Zn+ 7ZuNYIBeibWcPYvFVNE8RFz2bK2gf3hBivkIw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=dHjKCVz11jtMjfF50WaGQaVt7Fy71pZBh9vO7D7plSshbf/GLdfSXjvAtn1bH8gt2B CliFzN/h9Sx6ssomEinb9+/ScBxOC05oCScTOLc1Se70sUcgBnhdq6VGe2e8YTirFnCI 0KW/sjOai8oOQPuiAxp1BwXZmqlkN8snLFqis= Received: by 10.213.1.135 with SMTP id 7mr1411037ebf.91.1267634709757; Wed, 03 Mar 2010 08:45:09 -0800 (PST) Received: from nazgul.localnet (196-210-238-8.dynamic.isadsl.co.za [196.210.238.8]) by mx.google.com with ESMTPS id 28sm9682646eyg.46.2010.03.03.08.45.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Mar 2010 08:45:09 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Pending layman directory "relocation" Date: Wed, 3 Mar 2010 18:42:33 +0200 User-Agent: KMail/1.13.0 (Linux/2.6.32-zen6; KDE/4.4.0; x86_64; ; ) References: <4B8C028E.7010602@gmail.com> <201003031449.47779.alan.mckinnon@gmail.com> <201003031733.54131.wonko@wonkology.org> In-Reply-To: <201003031733.54131.wonko@wonkology.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003031842.33792.alan.mckinnon@gmail.com> X-Archives-Salt: 6da61267-ee30-46ec-9d81-a53cce1e909f X-Archives-Hash: 7c026f3071480c7f8563f6cdc4612228 On Wednesday 03 March 2010 18:33:52 Alex Schuster wrote: > Alan McKinnon writes: > > On Wednesday 03 March 2010 14:21:23 Neil Bothwick wrote: > > > That's right, they should both be in /var. > > > > I concur. /usr has a long tradition is Unix of often being mounted > > read-only (think thin clients that mount it over NFS). > > Any idea why it's different with Gentoo in the first place? /usr also > always sounded wrong to me for the portage tree. > And for other things. Shouldn't /usr/src go somewhere into /var? And > shouldn't /usr/share/config stuff be in /etc? /usr/src/ is the traditional place for kernel header files. They are intended to be static, change seldom, and definitely not something that users can change. Normally, root would update them when needed, and stuff can then build against them. /usr/share/config/ is an upstream thing and if you follow FHS then /etc/ is a better place. But Gentoo follows upstream as much as possible so this one gets left as-is. NB: Gentoo only follows FHS when it suits Gentoo devs to do it :-) The reasoning offered is usually that Gentoo is a source distro and therefore has little needs of FHS, which does tend towards compatibility between binary distros > > > My set up is: > > > > portage: /var/portage/ > > my overlay: /var/portage/local/alan/ > > layman: /var/portage/local/layman/* > > > > As portage is hard-coded to not fiddle with $PORTDIR/local/, this works > > well for me and every ebuild on the system is under one mount point. > > Where do you have the distfiles? I now have it like this: /var/distfiles/ /var/packages/ /var/rpm/ I do it this way as I am confident portage will leave /var/portage/local/ alone, I have no confidence it will do the same for the above three. Plus, those dirs can get big, and I keep the portage volume small and tight for performance reasons -- alan dot mckinnon at gmail dot com