Gentoo Archives: gentoo-user

From: Joost Roeleveld <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Beta test Gentoo with mdev instead of udev; version 5 - failure :-(
Date: Fri, 16 Mar 2012 09:03:23
Message-Id: 2447631.Yi3LRrrIq7@eve
In Reply to: Re: [gentoo-user] Beta test Gentoo with mdev instead of udev; version 5 - failure :-( by Pandu Poluan
1 On Wednesday, March 14, 2012 10:59:30 PM Pandu Poluan wrote:
2 > On Mar 14, 2012 10:30 PM, "Michael Mol" <mikemol@×××××.com> wrote:
3 > > On Wed, Mar 14, 2012 at 11:20 AM, Tanstaafl <tanstaafl@×××××××××××.org>
4 > wrote:
5 > > > Or asked another way -
6 > > >
7 > > > Why is LVM2 incapable od using mdev?
8 >
9 > Alan has explained that LVM2 actually is able to run under mdev, and he's
10 > investigating if there's any LVM2 feature that is not available.
11 >
12 > So far, there's none, and I'm strongly suspicious that it's a case of
13 > missing dev symlinks that prevented LVM2 to work; something later on the
14 > "default" runlevel then created the proper dev entries that allow LVM2 to
15 > work.
16 >
17 > If that is the case -- which I strongly suspect -- then one can use mdev's
18 > built-in ability to rename/move a device + create a symlink [1]
19 >
20 > [1]
21 > https://svn.mcs.anl.gov/repos/ZeptoOS/trunk/BGP/packages/busybox/src/docs/md
22 > ev.txt
23
24 I don't have the time to test this yet, but I am definitely planning on trying
25 mdev. Especially because I don't like the direction udev is going.
26
27 Auto-creation of /dev entries. Yes, very usefull
28 Renaming devices according to some simple rules. Yes, very usefull.
29
30 Auto-starting programs when a device is added. Great, when are we getting
31 "autostart" support for CDs and USB-keys and under which user-account will
32 these be executed?
33
34 This system is mostly used by me, but my wife also uses it sometimes. Even
35 when I leave a desktop-session active. She simply starts a second one.
36 If this is implemented, will the autostart-script run under my account, my
37 wifes, or *shudder* as root?
38
39 Walt, keep up the good work. I need LVM to work on the server, once we have
40 confirmed it does work and how to configure mdev to work with it, I'll start
41 to switch my servers.
42
43 > > The presumption is that lvm's dependent binaries would be found
44 > > somewhere under a mount point other than / (such as /usr), which gives
45 > > you a chicken-and-egg problem if mounting that mount point requires
46 > > lvm.
47 >
48 > Uh... mounting filesystems is not the purview of {u,m}dev...
49
50 ...yet.... ;)
51
52 That is, untill someone comes up with the "clever" idea of shoving an
53 automounter into udev. (Will it then also auto-unmount when I want my CD
54 back?)
55
56 --
57 Joost

Replies

Subject Author
Re: [gentoo-user] Beta test Gentoo with mdev instead of udev; version 5 - failure :-( Neil Bothwick <neil@××××××××××.uk>