From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4350D1381FB for ; Thu, 27 Dec 2012 19:45:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E89B521C25A; Thu, 27 Dec 2012 19:44:48 +0000 (UTC) Received: from mail-bk0-f49.google.com (mail-bk0-f49.google.com [209.85.214.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 64FC121C23E for ; Thu, 27 Dec 2012 19:43:17 +0000 (UTC) Received: by mail-bk0-f49.google.com with SMTP id jm19so4397349bkc.8 for ; Thu, 27 Dec 2012 11:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=7GdKzmXKyetOhntvSbINiFEMN1MwaVsQAQqk7g5YKqI=; b=Q9huXFneLhr+E9HeOcjBj9zef0iaO0OvqiqgpVgjSzrJOil2VNY1cx4E8t0Gxq9WJb BQvcORdTlXzrC8/5n+9QanNawOAgsrrUeRxgjOamtsaVKx7WPoQ2mr+9NUc2hBt2Gdvn NbVzYJrZMRMBgFBCywQNFhbztlHLsXuGYCE2QXhYk8+NvgdYN28m3wQJchtzCs8ougJ/ o9hZmQPWUh1kB28U+zb5x645UZ8v58nF3JQEsV/HJOcbX0MPfKJikeeet3VzMbGo8ssp pXn9w8RTB2cI/2/++YawtRImRguHletavyV6nwM9vW8QUtHvnRBJKx3EXb8XgGTyQQ+g +Caw== X-Received: by 10.204.9.139 with SMTP id l11mr14887158bkl.133.1356637395895; Thu, 27 Dec 2012 11:43:15 -0800 (PST) Received: from localhost.localnet (p4FC6016A.dip0.t-ipconnect.de. [79.198.1.106]) by mx.google.com with ESMTPS id i20sm21432588bkw.5.2012.12.27.11.43.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Dec 2012 11:43:13 -0800 (PST) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Cc: "Nuno J. Silva" Subject: Re: [gentoo-user] Re: Anyone switched to eudev yet? Date: Thu, 27 Dec 2012 20:43:12 +0100 Message-ID: <2275581.LCmW1syEqB@localhost> User-Agent: KMail/4.9.4 (Linux/3.4.24; KDE/4.9.4; x86_64; ; ) In-Reply-To: <877go87jec.fsf@ist.utl.pt> References: <20121223172053.GB23711@acm.acm> <877go87jec.fsf@ist.utl.pt> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: 1d60eb0e-e003-4f2a-8ba1-40c68f3b732a X-Archives-Hash: 648ce96c92a9313b100ec21a9ae9d4ee Am Sonntag, 23. Dezember 2012, 19:44:43 schrieb Nuno J. Silva: > On 2012-12-23, Alan Mackenzie wrote: > > On Sun, Dec 23, 2012 at 07:03:25PM +0200, Nuno J. Silva wrote: > >> On 2012-12-23, Alan McKinnon wrote: > >> > On Sun, 23 Dec 2012 12:22:24 +0200 > >> > > >> > nunojsilva@ist.utl.pt (Nuno J. Silva) wrote: > >> >> On 2012-12-18, Alan McKinnon wrote: > >> >> > On Tue, 18 Dec 2012 09:08:53 -0500 > >> >> > Michael Mol wrote: > >> >> > > >> >> > This sentence summarizes my understanding of your post nicely: > >> >> >> Now, why is /usr special? It's because it contains executable code > >> >> >> the system might require while launching. > >> >> > > >> >> > Now there are only two approaches that could solve that problem: > >> >> > > >> >> > 1. Avoid it entirely > >> >> > 2. Deal with it using any of a variety of bootstrap techniques > >> >> > > >> >> > #1 is handled by policy, whereby any code the system might require > >> >> > while launching is not in /usr. > >> >> > > >> >> > #2 already has a solution, it's called an init*. Other solutions > >> >> > exist but none are as elegant as a throwaway temporary filesystem > >> >> > in RAM. > >> >> > >> >> What about just mounting /usr as soon as the system boots? > >> > > >> > Please read the thread next time. The topic under discussion is > >> > solutions to the problem of not being able to do exactly that. > >> > >> Then I suppose you can surely explain in a nutshell why can't init > >> scripts simply do that? > > > > Because certain people with influence have rearranged the filesystem so > > that programs within /usr are absolutely necessary for booting; they are > > needed _before_ init has a chance to mount /usr. So either /usr has to > > be in the root partition, or crazy kludges need to be used to mount /usr > > before the kernel runs init. > > I surely don't know the udev architecture well enough, but if this is > all done by the udev daemon, can't we just "mount /usr" before the > daemon is started? The only needed things should be mount (which is > under /bin here) and /etc/fstab. > and a device node in /dev - like /dev/sda2. And how do you get that one without udev? oops? -- #163933