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 1R32bw-0006L7-5m for garchives@archives.gentoo.org; Mon, 12 Sep 2011 09:15:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3CB321C112; Mon, 12 Sep 2011 09:15:13 +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 9F90F21C221 for ; Mon, 12 Sep 2011 09:13:49 +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 02D9D80501 for ; Mon, 12 Sep 2011 10:13:49 +0100 (BST) Date: Mon, 12 Sep 2011 10:13:45 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /dev/sda* missing at boot Message-ID: <20110912101345.7dbce89f@zaphod.digimed.co.uk> In-Reply-To: <3531549.SdbnOTI6fV@eve> References: <201108191109.34984.michaelkintzios@gmail.com> <1358997.kmODItp2nM@eve> <20110912094922.7b4e3b5b@zaphod.digimed.co.uk> <3531549.SdbnOTI6fV@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_/_.uk8X5trjG8G9w=k6BzkLZ"; protocol="application/pgp-signature" X-Archives-Salt: X-Archives-Hash: ca52895dbb474c2cefc2ad7c9af9b191 --Sig_/_.uk8X5trjG8G9w=k6BzkLZ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 12 Sep 2011 11:07:12 +0200, Joost Roeleveld wrote: > > 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. > >=20 > > 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 >=20 > Yes, which means "udev" would need to be split into: > * devd (which controls the /dev-tree) > * plugd (which handles all the "hotplug-events" where special things > happen) >=20 > The communication between the 2 could be done using a > simple /dev/udev_pipe device. "devd" throws events onto the pipe and > plugd handles these events. I wonder if it could be done more simply. udevd loads but only parses those rule files marked as suitable for early boot time. Later in the boot it switches to "full" mode and loads all rule files. This is so simple it is either pure genius or completely naive and unworkable. I know which option my money is on... --=20 Neil Bothwick Diarrhoea is hereditary, it runs in your genes. --Sig_/_.uk8X5trjG8G9w=k6BzkLZ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEUEARECAAYFAk5tzUsACgkQum4al0N1GQNzQQCfTBx2FxFjzv8o3pTQvCmNVPyf SsoAmNFDooe45zYeHkHu5a/WRHuEuVw= =3/tN -----END PGP SIGNATURE----- --Sig_/_.uk8X5trjG8G9w=k6BzkLZ--