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 1R4En9-0000Pg-6V for garchives@archives.gentoo.org; Thu, 15 Sep 2011 16:27:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3969621C07E; Thu, 15 Sep 2011 16:27:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BB53821C130 for ; Thu, 15 Sep 2011 16:27:17 +0000 (UTC) Received: from [10.151.200.200] (staff-wireless.saddleback.edu [209.129.85.50]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 0E91E1B4018 for ; Thu, 15 Sep 2011 16:27:16 +0000 (UTC) Message-ID: <4E72275A.9000704@gentoo.org> Date: Thu, 15 Sep 2011 09:27:06 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686; rv:6.0) Gecko/20110827 Thunderbird/6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] udev and /usr References: <1740055.XA9oyAS8HQ@eve> <4E7214B7.9010406@gentoo.org> <3639422.QgOtQNiHae@eve> In-Reply-To: <3639422.QgOtQNiHae@eve> X-Enigmail-Version: 1.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: f8d7d56ea4909a5ac4c8d31f65f60aa7 On 09/15/2011 09:04 AM, Joost Roeleveld wrote: > Thank you for your response, however, I do have a few questions about this. > Where will this default initramfs actually need to be placed? It should be similar to how sys-apps/v86d is used for uvesafb support. It installs /usr/share/v86d/initramfs and when you configure your kernel, you set CONFIG_INITRAMFS_SOURCE="/usr/share/v86d/initramfs" in order to have in included in your kernel image. > Also, how will > we be able to deal with situations where this script fails? It should drop you to a minimal shell. > If Gentoo does decide to follow the initramfs-route, why not simply implement > /etc/init.d/localmount in the initramfs? I think that's pretty close to what we have planned, since the plan is to have the initramfs mount configuration stored on the root filesystem. > Why require users to figure out which > filesystems are needed for udev? Simply mount all filesystems containing files managed by the package manager with the initramfs. Anything else would expose you to the possibility of unsatisfied dependencies. > Also, I was actually hoping for a reply to the rest of my email as well, > especially the idea for splitting udev into 2 seperate processes. In essence, what your doing here is playing a game of "let's see how long we can delay the mounting of essential filesystems". If you play this game, then again, you expose yourself to the possibility of unsatisfied dependencies. Therefore, the only foolproof approach is to mount all essential filesystems as soon as possible (via initramfs). > If someone can explain to me why my idea won't work, please let me know. If your goal is to expose yourself to the possibility of unsatisfied dependencies, they your idea will achieve it. -- Thanks, Zac