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-136122-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1S6nhg-0001CN-IL
	for garchives@archives.gentoo.org; Sun, 11 Mar 2012 18:41:12 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 25960E0999;
	Sun, 11 Mar 2012 18:40:59 +0000 (UTC)
Received: from mail-pz0-f53.google.com (mail-pz0-f53.google.com [209.85.210.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id 45D79E0975
	for <gentoo-user@lists.gentoo.org>; Sun, 11 Mar 2012 18:39:57 +0000 (UTC)
Received: by dady25 with SMTP id y25so4659121dad.40
        for <gentoo-user@lists.gentoo.org>; Sun, 11 Mar 2012 11:39:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=4C0YInmZpi18K1Puk4Z1pYj00lpYIGxeW17ts+7Sj/o=;
        b=BT+x655U3nI+NaoNsYVbOsEikkjR8S4Qj8Ce/W4VYIdgpGzVDijAw7X9nBb7hEe6vt
         Z1W+CUlCyT8iGBUwyv7FExKTWW/jU5WEoTfRFfsznfj4ijYperjIQPbYwRRb8y7C2yat
         OphPiyOIsdzViG4TAp973I8yZsuE2H7poKc761wEWdyPcbrrwZzHr4iakM4YhE/E35rv
         qBjIerUkSwSjxIvCIo3QjP2vYdArBSBU+mfqytZojfC+o8ShL/nbrBQVtRNxxaybsK59
         GAJw7n2L0h4Wn9V8FE1To2tngI1uaXBnjzynCk+XnzoELD0s/iRTe6lvisdAG+uUFQWt
         SJpQ==
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.68.218.228 with SMTP id pj4mr15510726pbc.167.1331491196563;
 Sun, 11 Mar 2012 11:39:56 -0700 (PDT)
Received: by 10.68.59.231 with HTTP; Sun, 11 Mar 2012 11:39:56 -0700 (PDT)
In-Reply-To: <20120311161754.059ce7d8@khamul.example.com>
References: <20111115062115.GA3262@waltdnes.org>
	<20111121104724.GC7461@waltdnes.org>
	<20111201194544.GD4455@waltdnes.org>
	<20120217234045.GA25390@waltdnes.org>
	<20120311090912.GA23850@waltdnes.org>
	<499847436.525568.1331465225324.JavaMail.open-xchange@email.1and1.com>
	<20120311161754.059ce7d8@khamul.example.com>
Date: Sun, 11 Mar 2012 12:39:56 -0600
Message-ID: <CADPrc80g-W9sjbFcftpzRPMjkehAZroo3YmQ1OGyJsR6pqAfHg@mail.gmail.com>
Subject: Re: [gentoo-user] Beta test Gentoo with mdev instead of udev; version 5
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: cf2f0a82-240c-4ffa-a246-7d76f3c46b1d
X-Archives-Hash: 548dfe4c1c72567c4ea130d78431b3f0

On Sun, Mar 11, 2012 at 8:17 AM, Alan McKinnon <alan.mckinnon@gmail.com> wr=
ote:
> On Sun, 11 Mar 2012 07:27:05 -0400 (EDT)
> Daddy <daddy@happypenguincomputers.com> wrote:
>
>> On March 11, 2012 at 5:09 AM Walter Dnes <waltdnes@waltdnes.org>
>> wrote:
>>
>> > =C2=A0 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. =C2=A0Removing 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.
>> >
>> > =C2=A0 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
>> > =C2=A0 CONFIG_DEVTMPFS=3Dy and CONFIG_DEVTMPFS_MOUNT=3Dy
>> >
>> > * 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
>> > =C2=A0 Device Drivers =C2=A0--->
>> > =C2=A0 =C2=A0 Generic Driver Options =C2=A0--->
>> > =C2=A0 =C2=A0 =C2=A0 [*] Maintain a devtmpfs filesystem to mount at /d=
ev
>> > =C2=A0 =C2=A0 =C2=A0 [*] =C2=A0 Automount devtmpfs at /dev, after the =
kernel mounted the
>> rootfs
>> >
>> > =C2=A0 Once you've made the changes, rebuild the kernel.
>> >
>> >
>> > 2) Set up for emerging busybox. =C2=A0busybox requires the "mdev" flag=
 in
>> > this situation. =C2=A0The "static" flag is probably also a good idea. =
=C2=A0In
>> > file /etc/portage/package.use add the line
>> >
>> > sys-apps/busybox static mdev
>> >
>> > =C2=A0 =C2=A0Now, "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
>> >
>> > =C2=A0 This should be enough for most users. =C2=A0If you have an unus=
ual
>> > setup, you may need additional stuff in there. =C2=A0Remember to
>> > "chmod 744 /sbin/linuxrc" to make it executable.
>> >
>> > =C2=A0In the bootloader "append" line, include "init=3D/sbin/linuxrc".=
 =C2=A0If
>> > you're using lilo remember to re-run lilo to implement the
>> > changes. =C2=A0If 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. =C2=A0You'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
>> > =C2=A0 Create the file if it doesn't already exist. =C2=A0You 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?
>
>
> No, it's his reaction to the fantastical amount of kitchen-sinking
> going on surrounding udev. Most specifically, it's the recent
> "requirement" foisted on the udev-using community to require
> either /usr to be part of / or to use an initramfs.
>
> Walter simply wants to show that mdev is a suitable replacement for
> udev in simple environments eg embedded, simple desktops without
> complex hotplug requirements, and servers.
>
> Canek will no doubt chip in about how this is the way things are going,
> it is inevitable, the boot sequence is becoming complex and various
> other rehashings of what's coming out of udev upstream.

No, I will not ;)

As I have said before, I admire a lot what Walter et al. are doing,
and as I always will say, this is how our community works: people
writing the code (as Walter is doing) are the ones that get things
done. This is the correct (and only) way to address a problem
(perceived or real) with the current status: write the code that does
the thing the way you want it. Complaining and crying that you don't
like the direction some part of the stack is taking is at best a waste
of time, and at worst idiotic. Actually doing something about it (as
Walter is doing) is the smart thing to do.

I personally will not use Walt's work. Not in my desktop, laptop, nor
in my servers or embedded systems (I don't know if my Media Center
qualifies as "embedded", if I'm truthful); they all run amazingly well
with systemd. But that's my decision: if anybody else wants to go the
mdev route, that's their absolute right.

This is open source: code talks. If anyone with enough interest and
capabilities wants to implement any feature (or anti feature) they
want, they will. That's what Walter is doing, and I sincerely salute
that effort.

Regards.
--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico