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 <gentoo-user+bounces-129772-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RF0IS-0005My-8O
	for garchives@archives.gentoo.org; Sat, 15 Oct 2011 09:12:48 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8713021C150;
	Sat, 15 Oct 2011 09:12:39 +0000 (UTC)
Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id BC28821C0DD
	for <gentoo-user@lists.gentoo.org>; Sat, 15 Oct 2011 09:11:44 +0000 (UTC)
Received: by wwg14 with SMTP id 14so4025157wwg.10
        for <gentoo-user@lists.gentoo.org>; Sat, 15 Oct 2011 02:11:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=kOIst28LjxkZafPI3aDafbriNzOpfJ+44LmuB6uflAQ=;
        b=oJpNr8/NSzazcstnSSTmw2DbGiKf04kvhPZcJ0zT2WY7aVgCTVR3SARUePz/1ZteRH
         4glL4OKejKbzSRMk0QSS/qZdLQdBZTMOuGdTGS4BjOHevJelFEcWE6iJY3b/BWGLkSgz
         Nsc7lMxKuEJFktMCidr6Axps8AhIhXr8LOJTU=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.216.150.222 with SMTP id z72mr948998wej.64.1318669903866; Sat,
 15 Oct 2011 02:11:43 -0700 (PDT)
Received: by 10.216.234.130 with HTTP; Sat, 15 Oct 2011 02:11:43 -0700 (PDT)
In-Reply-To: <10471513.R8jrG2MAGJ@pc>
References: <tencent_37F5F8956D61083C1D2D5307@qq.com>
	<1474337.CKuYS0Cz6D@pc>
	<CADPrc80G6hxWq-skR1eP2OnrPWPZ+_qoyqtuZuE_ito8JLm9tA@mail.gmail.com>
	<10471513.R8jrG2MAGJ@pc>
Date: Sat, 15 Oct 2011 02:11:43 -0700
Message-ID: <CADPrc83Jx8YJKsCtsaGc6AJRZPUWAPNHPtFEe6YDs=VCkk_+rw@mail.gmail.com>
Subject: Re: [gentoo-user] Apologize to everyone for my nonprofessional
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: ecb6f6617ad7f0fb731e263eb98af1e3

On Sat, Oct 15, 2011 at 1:53 AM, Michael Schreckenbauer <grimlog@gmx.de> wr=
ote:
> On Saturday, 15. October 2011 01:42:10 Canek Pel=C3=A1ez Vald=C3=A9s wrot=
e:
>> > /var/lib usually stores whole
>> > databases. The difference is important and relevant."
>
>> My systems has directories alsa, bluetooth, hp and many more
>> there that are not databases at all.
>>
>> So?
>> Which one? That /var is not going into /?
>
> No. That /var/lib contains databases. Is this so difficult to get?

I get it; it's just not relevant.

> On my system /var/lib/alsa contains data, that alsa uses to restore mixer=
-
> levels.

Yeah, it does.

> So *my* /var/lib is used during boot and *my* /var/lib has to be
> mounted by the initramfs.

No, it doesn't. What are you talking about? Look at /etc/init.d/alsasound:

depend() {
        need localmount
        after bootmisc modules isapnp coldplug hotplug
}

Look at the first need from alsasound depend: it says, that it goes
after localmount. If you have /var in NFS (a very weird setup for a
desktop machine) maybe it will cause problems: but then it would be
fault of OpenRC (or the alsasound init script). If /var is on a
different partition, localmount will mount it and *then* alsasound
will execute.

And it makes sense: the volume restoring doesn't matter until
immediately before running gdm and going into the desktop; of course
you can mount /var before that.

>That's the situation on nearly every gentoo system
> using sound

Yeah, and as I explained, thanks to need localmount there is no problem.

>(systemd might handle this different, I have no idea)

Yeah, it does more intelligently: as I said, the volume restoring is
only needed just before starting X.

> Got it? Your system is not the center of the world.

No, but I start to think you don't know *your* system. Check the
alsasound init script.

The /var directory doesn't need to be on the same partition as /. Period.

Regards.
--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico