Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: lv@g.o
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Kernel sources thread
Date: Sun, 18 Jul 2004 23:58:17
Message-Id: 1090195253.5281.77.camel@nosferatu.lan
In Reply to: Re: [gentoo-dev] Kernel sources thread by Travis Tilley
1 On Mon, 2004-07-19 at 00:53, Travis Tilley wrote:
2 > > Do we have a plan to deprecate devfs or do we plan to support both udev and
3 > > devfs indefinitely? If we can get some agreement on how profiles should
4 > > be handled in the future (referencing our previous thread on static
5 > > profiles and things like GLEP19), I think it would make sense to
6 > > standardize on udev going forward.
7 >
8 > please dont force udev on me... i refuse to use that crap. :|
9
10 Have you tried it lately? I was also very sceptic, but now it
11 seems to work the charm. Also seems like Greg have pretty much
12 kept my udev rules to simulate near devfs /dev layout which sould
13 make it easier.
14
15 Also, nice feature to create rules like so:
16
17 ----
18 $ cat /etc/udev/rules.d/40-dm.rules
19 KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="mapper/%k", SYMLINK="%c"
20 ----
21
22 gives you all sorts of flexibility (moving disks around is less
23 painful, etc):
24
25 ---
26 $ ls /dev/isw0* -l
27 lrwxrwxrwx 1 root root 11 Jul 18 18:56 /dev/isw0 -> mapper/dm-0
28 lrwxrwxrwx 1 root root 11 Jul 18 18:56 /dev/isw0p1 -> mapper/dm-1
29 lrwxrwxrwx 1 root root 11 Jul 18 18:56 /dev/isw0p2 -> mapper/dm-2
30 lrwxrwxrwx 1 root root 11 Jul 18 18:56 /dev/isw0p3 -> mapper/dm-3
31 ---
32
33 The only 'regression' as such, is that trying to open say
34 /dev/nvidia0 do not load 'nvidia' if you had an alias in
35 modprobe.conf ... I have an idea however to 'fix' that, but
36 I haven't gotten to it yet, and it will require some prodding
37 in kernel internals =)
38
39 --
40
41 Martin Schlemmer
42 Gentoo Linux Developer, Desktop/System Team Developer
43 Cape Town, South Africa

Attachments

File name MIME type
signature.asc application/pgp-signature