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 1R32FR-0003K0-R4 for garchives@archives.gentoo.org; Mon, 12 Sep 2011 08:52:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8642A21C1BE; Mon, 12 Sep 2011 08:52:02 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id B86B221C1F8 for ; Mon, 12 Sep 2011 08:49:23 +0000 (UTC) Received: from zaphod.digimed.co.uk (zaphod.digimed.co.uk [192.168.1.1]) by mail.digimed.co.uk (Postfix) with ESMTPSA id DE18980501 for ; Mon, 12 Sep 2011 09:49:22 +0100 (BST) Date: Mon, 12 Sep 2011 09:49:22 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /dev/sda* missing at boot Message-ID: <20110912094922.7b4e3b5b@zaphod.digimed.co.uk> In-Reply-To: <1358997.kmODItp2nM@eve> References: <201108191109.34984.michaelkintzios@gmail.com> <4E69D406.9000909@gmail.com> <4E6A4BB6.9030002@coolmail.se> <1358997.kmODItp2nM@eve> Organization: Digital Media Production X-Mailer: Claws Mail 3.7.10cvs16 (GTK+ 2.24.6; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/6WFz83eCA5K=z2qRSnOswn2"; protocol="application/pgp-signature" X-Archives-Salt: X-Archives-Hash: 94dd16324ecea7e73935f38a13d69670 --Sig_/6WFz83eCA5K=z2qRSnOswn2 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 12 Sep 2011 09:45:44 +0200, Joost Roeleveld wrote: > As long as filesystem-support for /usr is in the kernel, why can't > "/usr" be mounted right after "/"? >=20 > Eg. instead of worrying with an init*, why not edit the boot-scripts to > have "/usr" mounted before udev and colleagues start? Because it is udev that creates the device entries needed to mount /usr - and that doesn't even touch other cases, like /usr being on a software block device, like LVM or dmcrypt. The problem here is that udev is trying to do too much. On the one hand it handles the initial population of /dev/ and all that is needed to mount the contents of fstab. On the other hand, it is trying to be an all-encompassing device and hotplug manager. the latter function should be started relatively late in the boot sequence, the former as soon as possible. I'd like to know why these functions cannot be separated, run the command to populate /dev early on, then start the udev daemon after the filesystems have been mounted. Some sort of early boot rules file would need to be used to handle things like setting up symlinks for block devices to avoid breaking some users' fstabs. --=20 Neil Bothwick It may be that your sole purpose in life is simply to serve as a warning to others. --Sig_/6WFz83eCA5K=z2qRSnOswn2 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk5tx5IACgkQum4al0N1GQO+MgCgz9AjFrTlTRQ7AHRSDo7MCm8B 4K8AoIAAQKdG1RrEhwaFoJPDUEDr7e02 =cBGL -----END PGP SIGNATURE----- --Sig_/6WFz83eCA5K=z2qRSnOswn2--