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 1R4JkN-0007g5-T8 for garchives@archives.gentoo.org; Thu, 15 Sep 2011 21:45:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C75DE21C387; Thu, 15 Sep 2011 21:44:39 +0000 (UTC) Received: from mail-wy0-f180.google.com (mail-wy0-f180.google.com [74.125.82.180]) by pigeon.gentoo.org (Postfix) with ESMTP id 1F2B821C33C for ; Thu, 15 Sep 2011 21:38:41 +0000 (UTC) Received: by wyj26 with SMTP id 26so3957883wyj.11 for ; Thu, 15 Sep 2011 14:38:41 -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=4v49w8nxv8pb1VD+SvASHL8lrV0K8KHWxw5Bapmx0Bc=; b=WMK0LFF08NCGl+s/TZuEMy5eCJLyxlD5VjgOcQZ2SDKqL5Pk5lTNwo87d5gPIN4AcJ aff8kX07M8YFwON04OeLBVySDfSJoGxYHBOZZNaw821sXq8m1gbsDBDdQjPZyfaZ+QiI sVG29ocqvoUP6lQ5RRnM/UxOIT1HFL98gmI0Y= 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.216.178.194 with SMTP id f44mr903170wem.110.1316122721294; Thu, 15 Sep 2011 14:38:41 -0700 (PDT) Received: by 10.216.38.140 with HTTP; Thu, 15 Sep 2011 14:38:41 -0700 (PDT) In-Reply-To: <73132955.y04H0sY5km@eve> References: <20110912150248.GB3599@acm.acm> <201109151859.54274.michaelkintzios@gmail.com> <73132955.y04H0sY5km@eve> Date: Thu, 15 Sep 2011 17:38:41 -0400 Message-ID: Subject: Re: [gentoo-user] udev + /usr From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 498640078ea9d8c3c208551e407b1a6c On Thu, Sep 15, 2011 at 5:30 PM, Joost Roeleveld wrote= : > On Thursday, September 15, 2011 03:04:37 PM Canek Pel=C3=A1ez Vald=C3=A9s= wrote: >> On Thu, Sep 15, 2011 at 1:59 PM, Mick wrote: >> > On Thursday 15 Sep 2011 16:13:26 Michael Schreckenbauer wrote: >> > 1. =C2=A0The minimal initramfs will only need to be built once (and ra= rely >> > rebuilt thereafter). =C2=A0This removes one of my fears and it was a m= ain >> > objection for me - I would hate to have to rebuild initramfs every tim= e >> > I roll a new kernel, or libs and what not of fs happen to be udpated, >> > etc. >> >> In my experience, it takes more time to build the kernel than it takes >> to rebuild the initramfs. And if you choose to use dracut, the process >> is automatic (you always call dracut with the same options, unless you >> suddenly add LVM or something similar). > > Canek, as you've been using dracut already extensively, is it possible to= set > default options/modules/whatever to get to the situation where simply run= ning > "dracut" without any extra options will always recreate the correct initr= amfs? The modules get defined by the DRACUT_MODULES variable, which is use-expanded. The options are configured in /etc/dracut.conf, but I believe there are some command line options not configurable. >> I didn't use an initramfs for my first years using Gentoo. Since I >> started to use media-gfx/splashutils a couple of years ago, every time >> I upgraded my kernel, I splash_geninitramfs'd my initramfs. Now I do >> the same, but with plymouth and systemd using dracut. It's just part >> of the process of getting a new kernel. > > And, if the initramfs has other tools in it, after every emerge of these > tools. This is where I see a possible cause for failure as then the situa= tion > arises where the initramfs will still start "correctly", but because it's > using older tools it's possible that older versions and new versions star= t > running simultaneously and get mixed up in a way that is not immediately > apparent. I see it the other way around: you ensure that your initramfs is in sync with your system. In other words: the initramfs contains a subset of your normal installation. That is why it makes redundant /lib, /sbin and /bin. 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