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.77) (envelope-from ) id 1SpPgk-00055t-NI for garchives@archives.gentoo.org; Thu, 12 Jul 2012 20:08:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F621E0698; Thu, 12 Jul 2012 20:08:25 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id C4AC8E068E for ; Thu, 12 Jul 2012 20:07:46 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwKAG6Zu09Ld/B8/2dsb2JhbABEsnYDgRiBCIIVAQEEAScTHCgLCzQSFCU3iAkFC7l+iwhagUSCPGIDjT6HXIEQhE+IOoFYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="193223882" Received: from 75-119-240-124.dsl.teksavvy.com (HELO waltdnes.org) ([75.119.240.124]) by ironport2-out.teksavvy.com with SMTP; 12 Jul 2012 16:07:45 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Thu, 12 Jul 2012 16:07:41 -0400 From: "Walter Dnes" Date: Thu, 12 Jul 2012 16:07:41 -0400 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] udev <-> mdev Message-ID: <20120712200741.GB3723@waltdnes.org> References: <20120710171800.493a7c4c@pomiocik.lan> <4FFC813B.7090501@gentoo.org> <20120711091510.52b44e08@pomiocik.lan> <4FFD7949.4000204@gentoo.org> <20120712034036.GA2439@waltdnes.org> <4FFED31D.9010505@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FFED31D.9010505@gentoo.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 302b4337-295b-4813-b107-6783fc5f69c4 X-Archives-Hash: 39a24c7240049c7769a1a3add9c1c902 On Thu, Jul 12, 2012 at 09:37:33AM -0400, Ian Stakenvicius wrote First a disclaimer... I am not a C programmer, let alone a developer. I feel like I've been dragged into this kicking and screaming in order to save the Gentoo that I remember from a few years ago. > Out of curiosity, since mdev is (i assume) more than complete enough > to handle mounting, would it be possible to initially start with mdev > and then hand over control to udev (if there was a need for udev, that > is) , to avoid initramfs with separate /usr ? I think that's exactly how initramfs itself works. You might be able to use an initrd instead of initramfs. See Zac Medico's posting at... http://archives.gentoo.org/gentoo-dev/msg_20749880f5bc5feda141488498729fe8.xml That was the clue that got me started on replacing udev with mdev. Once you have psuedo-filesystems and partitions mounted, you need to shut down mdev and start up udev. And make sure that /proc/sys/kernel/hotplug points to udev. If you want to get fancy, you can boot from a separate small boot partition, or for that matter a USB key. Then either chroot or pivot_root into the udev environment. For pivot_root man pages see http://linux.die.net/man/8/pivot_root and http://linux.die.net/man/2/pivot_root -- Walter Dnes