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 1R31yE-0001VN-JT for garchives@archives.gentoo.org; Mon, 12 Sep 2011 08:34:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8361421C1EE; Mon, 12 Sep 2011 08:34:09 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [94.23.166.77]) by pigeon.gentoo.org (Postfix) with ESMTP id 930FF21C136 for ; Mon, 12 Sep 2011 08:32:17 +0000 (UTC) Received: from weird.wonkology.org (p5B277A7C.dip.t-dialin.net [91.39.122.124]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id 8DF0F3A6041 for ; Mon, 12 Sep 2011 10:32:16 +0200 (CEST) Date: Mon, 12 Sep 2011 10:32:13 +0200 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /dev/sda* missing at boot Message-ID: <20110912103213.2470a710@weird.wonkology.org> In-Reply-To: <1358997.kmODItp2nM@eve> References: <201108191109.34984.michaelkintzios@gmail.com> <4E69D406.9000909@gmail.com> <4E6A4BB6.9030002@coolmail.se> <1358997.kmODItp2nM@eve> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.6; x86_64-pc-linux-gnu) 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-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 5c5dd6cc2ff37aadda30928f098f72cc Joost Roeleveld writes: > What about the following as a gentoo-solution: > > As long as filesystem-support for /usr is in the kernel, why can't > "/usr" be mounted right after "/"? > > Eg. instead of worrying with an init*, why not edit the boot-scripts to > have "/usr" mounted before udev and colleagues start? > > mount is still in /bin > fstab is still in /etc > Both should be available during boot. But there are no /dev/sd* entries yet for the device /usr is on. That's what udev is for in the first place, creating them. We could add those devices manually, like the essential /dev/console and /dev/null that also have to be there before udev kicks in. Might be simpler than creating the initramfs thing. But probably only with real disk partitions. For LVM, many more devices will be necessary, and I don't creating them all by hand might not be so easy. When udev does so many things these days, couldn't udev itself mount the /usr partition, and then continue with the rules in /etc/udev/rules.d/? But I really think that either udev should just not depend on stuff in /usr, or consist of two stages, one for the essential device nodes, and one that is run later, after /usr is mounted, dealing with stuff in /etc/udev/rules.d. Which will not solve the problems with a bluetooth keyboard, though. But for most of us it might work. Just thinking, Wonko