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-136100-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1S6gwp-0000Ff-J6
	for garchives@archives.gentoo.org; Sun, 11 Mar 2012 11:28:23 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8658BE07B5;
	Sun, 11 Mar 2012 11:28:08 +0000 (UTC)
Received: from mout.perfora.net (mout.perfora.net [74.208.4.195])
	by pigeon.gentoo.org (Postfix) with ESMTP id 080DCE07B5
	for <gentoo-user@lists.gentoo.org>; Sun, 11 Mar 2012 11:27:06 +0000 (UTC)
Received: from oxusltgw10.schlund.de (oxusltgw10.lxa.perfora.net [172.19.206.12])
	by mrelay.perfora.net (node=mrus3) with ESMTP (Nemesis)
	id 0M6BOM-1SIBRD1XMA-00xVrc; Sun, 11 Mar 2012 07:27:05 -0400
Date: Sun, 11 Mar 2012 07:27:05 -0400 (EDT)
From: Daddy <daddy@happypenguincomputers.com>
To: gentoo-user@lists.gentoo.org
Message-ID: <499847436.525568.1331465225324.JavaMail.open-xchange@email.1and1.com>
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>
Subject: Re: [gentoo-user] Beta test Gentoo with mdev instead of udev;
 version 5
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
Content-Type: multipart/alternative; 
	boundary="----=_Part_525567_672116608.1331465225282"
X-Priority: 3
Importance: Medium
X-Mailer: Open-Xchange Mailer v6.20.0-Rev36
X-Provags-ID: V02:K0:6nX4UTVDZHj06YkHp/ATqsk5LAfwoB3oOhj/22TAAi3
 GNTVfcIaG53L1XOMsWiaUReQvo+ZbIzT9HBfh4jr22r226o3As
 q6Ji+HhAM7fHi2OiU3ztyYV8jWdKxuaLemdzNOpeonREijVPeI
 AaIhGWaJY8aXHZGvh3ElAPF2B4M+/hN0lQkLKJ2vP613+RUM65
 j6HPSGZwRXcdGxoCIthtMdnXGVgVZmuDen5xCMUkO2t6JIfght
 6gzDBwYQKcCDSkRI8Q2KBqBQlKQgzxSm1caI/KGRrDTmrleuP4
 HiDqJOC/ec35dPZo4sokDsvW2jzI2gqwDzo6Uv2aAwrobXDJjn
 49nomXLWZVpoYTW/gFxOcNNfQIcjo6/xTji05hIMssbFLyPiSB
 CvAS/2MeDcHOnB2F0Xc65p7HFcx9CnD6jCHlE7mtwofFDQqBUS
 04mfI
X-Archives-Salt: c0423419-b65c-4d0a-835f-6e9906c04a2d
X-Archives-Hash: d51275532b41b75ef6e462214bc94088

------=_Part_525567_672116608.1331465225282
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

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.

Kindest regards,
Bruce
------=_Part_525567_672116608.1331465225282
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

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