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 <gentoo-user+bounces-136105-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1S6jTg-0005fs-EE
	for garchives@archives.gentoo.org; Sun, 11 Mar 2012 14:10:28 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8D0E7E07DA;
	Sun, 11 Mar 2012 14:10:13 +0000 (UTC)
Received: from svr-us4.tirtonadi.com (svr-us4.tirtonadi.com [69.65.43.212])
	by pigeon.gentoo.org (Postfix) with ESMTP id EC847E079D
	for <gentoo-user@lists.gentoo.org>; Sun, 11 Mar 2012 14:08:58 +0000 (UTC)
Received: from mail-vx0-f181.google.com ([209.85.220.181])
	by svr-us4.tirtonadi.com with esmtpsa (TLSv1:RC4-SHA:128)
	(Exim 4.69)
	(envelope-from <pandu@poluan.info>)
	id 1S6jSH-002Bvl-AC
	for gentoo-user@lists.gentoo.org; Sun, 11 Mar 2012 21:09:01 +0700
Received: by vcge1 with SMTP id e1so3776466vcg.40
        for <gentoo-user@lists.gentoo.org>; Sun, 11 Mar 2012 07:08:56 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.52.70.165 with SMTP id n5mr12233671vdu.55.1331474936089; Sun,
 11 Mar 2012 07:08:56 -0700 (PDT)
Received: by 10.220.58.200 with HTTP; Sun, 11 Mar 2012 07:08:55 -0700 (PDT)
Received: by 10.220.58.200 with HTTP; Sun, 11 Mar 2012 07:08:55 -0700 (PDT)
In-Reply-To: <20120311090912.GA23850@waltdnes.org>
References: <20111115062115.GA3262@waltdnes.org>
	<20111121104724.GC7461@waltdnes.org>
	<20111201194544.GD4455@waltdnes.org>
	<20120217234045.GA25390@waltdnes.org>
	<20120311090912.GA23850@waltdnes.org>
Date: Sun, 11 Mar 2012 21:08:55 +0700
Message-ID: <CAA2qdGVMZguMH=mBrZZuneU20p7SpU1Dm-OhUuKJKXcjFecbjw@mail.gmail.com>
Subject: Re: [gentoo-user] Beta test Gentoo with mdev instead of udev; version 5
From: Pandu Poluan <pandu@poluan.info>
To: gentoo-user@lists.gentoo.org
Content-Type: multipart/alternative; boundary=bcaec5015e5397ca9d04baf82af1
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - svr-us4.tirtonadi.com
X-AntiAbuse: Original Domain - lists.gentoo.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - poluan.info
X-Archives-Salt: 45529679-2537-49b3-90ca-b21774d3c62f
X-Archives-Hash: 9e02e3e8420bfff3ab05de0e85f7ec93

--bcaec5015e5397ca9d04baf82af1
Content-Type: text/plain; charset=UTF-8

On Mar 11, 2012 6:30 PM, "Daddy" <daddy@happypenguincomputers.com> wrote:
>
> On March 11, 2012 at 5:09 AM Walter Dnes <waltdnes@waltdnes.org> wrote:
>
> >   This revision makes 2 changes...
> >
> > A) The removal of udev is now standard instead of optional.  udev-181
> > and higher will be pulling in kmod, and anything else that kmod depends
> > on.  Removing udev will avoid unnecessary cruft on your machine.
> >
> > B) Splitting up step 3) into 3a) and 3b) for greater clarity as
> > requested in user feedback.
> >
> >   The usual warnings apply...
> > * this is a beta
> > * use a spare test machine
> > * if you don't follow the instructions correctly, the result might be
> >   an unbootable linux
> > * even if you do follow instructions, the result might be an unbootable
> >   linux
> >
> >
> > 1) Set up your kernel to support and automount a devtmpfs filesystem at
> >    /dev
> >
> > * If you prefer to edit .config directly, set
> >   CONFIG_DEVTMPFS=y and CONFIG_DEVTMPFS_MOUNT=y
> >
> > * If you prefer "make menuconfig", the route is as shown below.  Note
> >   that the "Autount devtmpfs..." option won't appear until you enable
> >   "Maintain a devtmpf..." option.
> >
> > make menuconfig
> >   Device Drivers  --->
> >     Generic Driver Options  --->
> >       [*] Maintain a devtmpfs filesystem to mount at /dev
> >       [*]   Automount devtmpfs at /dev, after the kernel mounted the
rootfs
> >
> >   Once you've made the changes, rebuild the kernel.
> >
> >
> > 2) Set up for emerging busybox.  busybox requires the "mdev" flag in
> > this situation.  The "static" flag is probably also a good idea.  In
> > file /etc/portage/package.use add the line
> >
> > sys-apps/busybox static mdev
> >
> >    Now, "emerge busybox"
> >
> >
> > 3 a) Create /sbin/linuxrc containing at least
> >
> > #!/bin/busybox ash
> > mount -t proc proc /proc
> > mount -t sysfs sysfs /sys
> > exec /sbin/init
> >
> >   This should be enough for most users.  If you have an unusual setup,
> > you may need additional stuff in there.  Remember to
> > "chmod 744 /sbin/linuxrc" to make it executable.
> >
> >  In the bootloader "append" line, include "init=/sbin/linuxrc".  If
> > you're using lilo remember to re-run lilo to implement the changes.  If
> > you're using another bootloader, make the equivalant initialization.
> >
> >
> > 4) Remove udev from the services list, and replace it with mdev.  Type
> >    the following 2 commands at the command line
> > rc-update del udev sysinit
> > rc-update add mdev sysinit
> >
> >
> > 5) reboot to your new kernel.  You're now running without using udev.
> >
> >
> > 6) Remove udev as per the following instructions...
> >
> > * execute the following command at the commandline
> > emerge --unmerge sys-fs/udev
> >
> > * In file /atc/portage/package.mask, append the line
> > sys-fs/udev
> >   Create the file if it doesn't already exist.  You now have a totally
> > udev-free machine
> >
> > --
> > Walter Dnes <waltdnes@waltdnes.org>
> >
>
> Having personally long considered Lennart Poettering a 'spawn of the
devil' my question is ... is this your reaction to systemd?
>
>
>
> One minor typo to point out:
>
>
>
> /atc/portage/package.mask should be /etc/portage/package.mask
>
>
>
> I just joined this list last week, but might consider sacrificing some
hardware to join your endeavor if you need more testers.
>
>

I'm one of the long-suffering beta-tester for Walt ;-)

I've tested all his procedures (except this one), and up to now found no
problems. One caveat: my tests are all on servers
(test-dev-staging-production). We -- that is, Gentoo users who want to go
udev-less -- will certainly appreciate feedback from desktop users.

Rgds,

--bcaec5015e5397ca9d04baf82af1
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p><br>
On Mar 11, 2012 6:30 PM, &quot;Daddy&quot; &lt;<a href=3D"mailto:daddy@happ=
ypenguincomputers.com">daddy@happypenguincomputers.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On March 11, 2012 at 5:09 AM Walter Dnes &lt;<a href=3D"mailto:waltdne=
s@waltdnes.org">waltdnes@waltdnes.org</a>&gt; wrote: <br>
&gt;<br>
&gt; &gt;=C2=A0 =C2=A0This revision makes 2 changes... <br>
&gt; &gt; <br>
&gt; &gt; A) The removal of udev is now standard instead of optional.=C2=A0=
 udev-181 <br>
&gt; &gt; and higher will be pulling in kmod, and anything else that kmod d=
epends <br>
&gt; &gt; on.=C2=A0 Removing udev will avoid unnecessary cruft on your mach=
ine. <br>
&gt; &gt; <br>
&gt; &gt; B) Splitting up step 3) into 3a) and 3b) for greater clarity as <=
br>
&gt; &gt; requested in user feedback. <br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0The usual warnings apply... <br>
&gt; &gt; * this is a beta <br>
&gt; &gt; * use a spare test machine <br>
&gt; &gt; * if you don&#39;t follow the instructions correctly, the result =
might be <br>
&gt; &gt;=C2=A0 =C2=A0an unbootable linux <br>
&gt; &gt; * even if you do follow instructions, the result might be an unbo=
otable <br>
&gt; &gt;=C2=A0 =C2=A0linux <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; 1) Set up your kernel to support and automount a devtmpfs filesys=
tem at <br>
&gt; &gt;=C2=A0 =C2=A0 /dev <br>
&gt; &gt; <br>
&gt; &gt; * If you prefer to edit .config directly, set <br>
&gt; &gt;=C2=A0 =C2=A0CONFIG_DEVTMPFS=3Dy and CONFIG_DEVTMPFS_MOUNT=3Dy <br=
>
&gt; &gt; <br>
&gt; &gt; * If you prefer &quot;make menuconfig&quot;, the route is as show=
n below.=C2=A0 Note <br>
&gt; &gt;=C2=A0 =C2=A0that the &quot;Autount devtmpfs...&quot; option won&#=
39;t appear until you enable <br>
&gt; &gt;=C2=A0 =C2=A0&quot;Maintain a devtmpf...&quot; option. <br>
&gt; &gt; <br>
&gt; &gt; make menuconfig <br>
&gt; &gt;=C2=A0 =C2=A0Device Drivers=C2=A0 ---&gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0Generic Driver Options=C2=A0 ---&gt; <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0[*] Maintain a devtmpfs filesystem to m=
ount at /dev <br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0[*]=C2=A0 =C2=A0Automount devtmpfs at /=
dev, after the kernel mounted the rootfs <br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0Once you&#39;ve made the changes, rebuild the kernel.=
 <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; 2) Set up for emerging busybox.=C2=A0 busybox requires the &quot;=
mdev&quot; flag in <br>
&gt; &gt; this situation.=C2=A0 The &quot;static&quot; flag is probably als=
o a good idea.=C2=A0 In <br>
&gt; &gt; file /etc/portage/package.use add the line <br>
&gt; &gt; <br>
&gt; &gt; sys-apps/busybox static mdev <br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0 Now, &quot;emerge busybox&quot; <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; 3 a) Create /sbin/linuxrc containing at least <br>
&gt; &gt; <br>
&gt; &gt; #!/bin/busybox ash <br>
&gt; &gt; mount -t proc proc /proc <br>
&gt; &gt; mount -t sysfs sysfs /sys <br>
&gt; &gt; exec /sbin/init <br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 =C2=A0This should be enough for most users.=C2=A0 If you ha=
ve an unusual setup, <br>
&gt; &gt; you may need additional stuff in there.=C2=A0 Remember to <br>
&gt; &gt; &quot;chmod 744 /sbin/linuxrc&quot; to make it executable. <br>
&gt; &gt; <br>
&gt; &gt;=C2=A0 In the bootloader &quot;append&quot; line, include &quot;in=
it=3D/sbin/linuxrc&quot;.=C2=A0 If <br>
&gt; &gt; you&#39;re using lilo remember to re-run lilo to implement the ch=
anges.=C2=A0 If <br>
&gt; &gt; you&#39;re using another bootloader, make the equivalant initiali=
zation. <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; 4) Remove udev from the services list, and replace it with mdev.=
=C2=A0 Type <br>
&gt; &gt;=C2=A0 =C2=A0 the following 2 commands at the command line <br>
&gt; &gt; rc-update del udev sysinit <br>
&gt; &gt; rc-update add mdev sysinit <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; 5) reboot to your new kernel.=C2=A0 You&#39;re now running withou=
t using udev. <br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; 6) Remove udev as per the following instructions... <br>
&gt; &gt; <br>
&gt; &gt; * execute the following command at the commandline <br>
&gt; &gt; emerge --unmerge sys-fs/udev <br>
&gt; &gt; <br>
&gt; &gt; * In file /atc/portage/package.mask, append the line <br>
&gt; &gt; sys-fs/udev <br>
&gt; &gt;=C2=A0 =C2=A0Create the file if it doesn&#39;t already exist.=C2=
=A0 You now have a totally <br>
&gt; &gt; udev-free machine <br>
&gt; &gt; <br>
&gt; &gt; -- <br>
&gt; &gt; Walter Dnes &lt;<a href=3D"mailto:waltdnes@waltdnes.org">waltdnes=
@waltdnes.org</a>&gt; <br>
&gt; &gt;<br>
&gt;<br>
&gt; Having personally long considered Lennart Poettering a &#39;spawn of t=
he devil&#39; my question is ... is this your reaction to systemd?<br>
&gt;<br>
&gt; =C2=A0<br>
&gt;<br>
&gt; One minor typo to point out:<br>
&gt;<br>
&gt; =C2=A0<br>
&gt;<br>
&gt; /atc/portage/package.mask should be /etc/portage/package.mask<br>
&gt;<br>
&gt; =C2=A0<br>
&gt;<br>
&gt; I just joined this list last week, but might consider sacrificing some=
 hardware to join your endeavor if you need more testers.<br>
&gt;<br>
&gt; =C2=A0</p>
<p>I&#39;m one of the long-suffering beta-tester for Walt ;-) </p>
<p>I&#39;ve tested all his procedures (except this one), and up to now foun=
d no problems. One caveat: my tests are all on servers (test-dev-staging-pr=
oduction). We -- that is, Gentoo users who want to go udev-less -- will cer=
tainly appreciate feedback from desktop users.</p>

<p>Rgds,<br></p>

--bcaec5015e5397ca9d04baf82af1--