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 1QXG1u-0006dW-JW for garchives@archives.gentoo.org; Thu, 16 Jun 2011 17:06:54 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39FFE1C192 for ; Thu, 16 Jun 2011 17:06:54 +0000 (UTC) Received: from mail-qw0-f53.google.com (mail-qw0-f53.google.com [209.85.216.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 8F37E1C07D for ; Thu, 16 Jun 2011 16:23:17 +0000 (UTC) Received: by qwb7 with SMTP id 7so1012457qwb.40 for ; Thu, 16 Jun 2011 09:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=9JZgEPu9hxwZFYFDt6TrQ9SvPLf+GBP0e/18y+r4a9Q=; b=s3D1n92vkUj8+UszjbG+x8seuOfGynQ+rzsaxQLeLNyvZb21oN/L1UlTodbz6487fZ JBJbClVpBwLF5Rj0b4wbreA/ozcRko6xvvag7rZB5DNZFq0sqHx93JL31F7owItSXFdl 5C4vHYQl95fyTP2zWvzRy1R7cM2WepmWElhD4= 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 :content-type; b=pOOdxXtzqJNNYEEo7J3TcJJ5RHyIg0QHRwHecch0hGGWL11IQ0oYLMWtQ8A9VQRBk4 7+4gyrRy1Q2sQ9moUiVXweCYFQj8GjLrE7Z/hUhPWQp7c8rcjwFwbk4RP0ECk4iUNAsF rBwh3Uauiqux911o5TFRn/2acpQ6ptGmKYVXc= 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 Received: by 10.224.218.72 with SMTP id hp8mr995593qab.78.1308241396523; Thu, 16 Jun 2011 09:23:16 -0700 (PDT) Received: by 10.224.61.14 with HTTP; Thu, 16 Jun 2011 09:23:16 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 Jun 2011 09:23:16 -0700 Message-ID: Subject: Re: [gentoo-user] /etc/locale vs /etc/env.d/02locale? From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: X-Archives-Hash: 5318871c2744cc5acc960e2f233333bf On Thu, Jun 16, 2011 at 9:00 AM, Paul Hartman wrote: > On Thu, Jun 16, 2011 at 10:45 AM, Mark Knecht wrote: >> Is there a simple explanation concerning the difference between the >> two locales I have seen on Gentoo machines? >> >> 1) /etc/locale, as specified in the installation documents >> >> 2) /etc/env.d/02locale as has been discussed on the list recently > > I'm not near a Gentoo machine right now, but off the top of my head IIRC: > > /etc/locale.gen contains a list of locales to be compiled when glibc > is emerged. These will be available to be used. > > /etc/env.d/02locale specifies which of those locales you actually want > to use for the system-wide default (the LC variables) Thanks for the response Paul. Does that mean that the /etc/locale.gen is used only by glibc and not really by the system? If so, what is glibc doing with these beyond letting me system run programs? If 02locale specifies what the system is using, then should it be 02locale that's in the install documents vs off in an optional Gentoo Localization guide? Note that the /etc/locale.gen stuff is marked optional in the guide so presumably it isn't actually needed. All I've determined about it is that it reduces the amount of time emerge spends buildingglibc/gcc. Thanks, Mark