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 1DD491381F3 for ; Mon, 24 Dec 2012 13:59:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 235EE21C048; Mon, 24 Dec 2012 13:59:10 +0000 (UTC) Received: from mail-gh0-f171.google.com (mail-gh0-f171.google.com [209.85.160.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F3E921C048 for ; Mon, 24 Dec 2012 13:58:03 +0000 (UTC) Received: by mail-gh0-f171.google.com with SMTP id r17so621102ghr.16 for ; Mon, 24 Dec 2012 05:58:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=ZIv5IohKZC4BoBoyU2RQzQZTmpJ1X6ArlZXs+PKVrCw=; b=KJVpGWjwnrlJXC4ZpGSlRQM2fCOCgnk+M/EO/iJHKXKd/eyl3jQCnFIMQeXm04uvpa XBFAIoNnHnO8N2qtRo4OFCYeFc203jNiOtRZKf/3cfM9wSzZFaSPEK1m2pGeSUlFak+X lyYbkbrOsxRrJj92W2pUiHk1lIgbgjZg41pcAXWkFXJnLIpMZS6KcXqFCyyimyiei1Bn anvae5YHtXxq13uRdwDVi7pDi1nZMu/0fZv8WD9T3Y8P5ODwNS5oyoOhdmI2OYHT/Yae wNOmYOWwBm9igbJnmISQmLV092zjEMRokOl3XCHLkaOHdmXmj3qj79b9EkyJOB+3rfly Cehg== X-Received: by 10.236.84.77 with SMTP id r53mr11197720yhe.36.1356357483211; Mon, 24 Dec 2012 05:58:03 -0800 (PST) Received: from [192.168.2.5] (adsl-65-0-94-18.jan.bellsouth.net. [65.0.94.18]) by mx.google.com with ESMTPS id a9sm10444941anb.6.2012.12.24.05.58.01 (version=SSLv3 cipher=OTHER); Mon, 24 Dec 2012 05:58:02 -0800 (PST) Message-ID: <50D85F68.609@gmail.com> Date: Mon, 24 Dec 2012 07:58:00 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 SeaMonkey/2.14.1 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Anyone switched to eudev yet? References: <50CB1942.3020900@gmail.com> <50CB4A3C.1030109@gmail.com> <50CB5406.7040404@gmail.com> <8738z7hgsa.fsf@ist.utl.pt> <20121216171043.71084070@khamul.example.com> <20121217104621.735bf43a@khamul.example.com> <20121218163332.7956f31a@khamul.example.com> <87txrd6pb3.fsf@ist.utl.pt> <20121223182037.1553813f@khamul.example.com> <87bodk7lb6.fsf@ist.utl.pt> <20121224085528.56f535ec@khamul.example.com> <50D85167.9060309@gmail.com> <87hanb60xh.fsf@ist.utl.pt> In-Reply-To: <87hanb60xh.fsf@ist.utl.pt> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 6d824e35-8b19-40c6-8836-5b3f649b659e X-Archives-Hash: 2630306578382ad5e93a43c310685061 Nuno J. Silva wrote: > On 2012-12-24, Dale wrote: > >> Alan McKinnon wrote: >>> On Sun, 23 Dec 2012 19:03:25 +0200 >>> nunojsilva@ist.utl.pt (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: > [...] >>>>>> 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? >>>> >>> It is trivially easy to create a circular loop whereby code required to >>> mount /usr now resides on /usr. >>> >>> Which is the entire thrust of this whole thread. >>> >> When I reboot, I get a lot of errors about /var being empty, since it is >> not mounted yet. It appears it wants /var as well as /usr early on in >> the boot process. It boots regardless of the errors tho. >> >> For the record Nuno, I have / and /boot on regular partitions. I have >> everything else, /home, /usr, /var and /usr/portage on LVM partitions. >> Until recently, I NEVER needed a init thingy and had zero errors while >> booting. Once this 'needing /usr on /' started a few months ago, I was >> told I would need one to boot. The claim being it was broken all the >> time but odd that it worked for the last 9 years with no problem, might >> add, I only been using Linux for the last 9 years but it also would have >> worked before that. >> > In your case, does it actually fail without an initrd now? It's just > that I see lots of people saying "it doesn't work" or "it will silently > fail", that's why I asked the question, I was looking for actual > examples of how can this go wrong (other than just because the init > scripts don't try to mount /usr before starting udev). > > Also, how does an initrd help solving the chicken-and-the-egg problem > for a missing /usr? > > I suppose the LVM drivers create additional device files that are only > created once udevd is up and running in order to process these events? > (With the case of a regular partition being no problem just because > linux apparently offers hardcoded files for some partitions in the first > ATA controllers.) > Well, so far I have stuck with the udev that works without a init thingy. I do have a init thingy for when the udev that requires it is marked stable. The devs are keeping the udev that requires /usr on / masked and/or keyworded until everyone is ready. That was until eudev was announced. Now they are also waiting on eudev to get stable so people can switch to it. I plan to switch too. The problem is this from my understanding. For decades, any commands or config files needed to boot Linux had to be in /bin, /sbin, /etc, and/or /lib. Those directories were what was needed to boot and anything needed to boot a system should be installed into one or more of those directories. Then someone came up with the idea of putting things into /usr instead. When they did that, it broke things. To me, this change makes as much sense as putting the mount command is /usr/bin but that is where some want Linux to go. I have read where some want to basically move about everything to /usr but not sure how much traction that is getting. Basically, something that has worked for decades is declared to be broken all that time and if it wasn't broken, we are going to break it. >From my understanding, if I upgrade my system to the later version of udev and bypass the init system, my system will not boot. I have not tested the theory but that is what people have been saying. Not only is my /usr separate but it is on LVM partitons too. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!