Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] devfs is dead, let's move on
Date: Wed, 13 Jul 2005 09:01:32
Message-Id: 1121245229.1640.13.camel@lycan.lan
In Reply to: Re: [gentoo-dev] devfs is dead, let's move on by Mike Frysinger
1 On Tue, 2005-07-12 at 18:08 -0400, Mike Frysinger wrote:
2 > On Monday 11 July 2005 03:47 am, Martin Schlemmer wrote:
3 > > On Sat, 2005-07-09 at 20:34 +0200, Richard Fish wrote:
4 > > > >>>I.o.w. is it still necessary to have RC_DEVICE_TARBALL="yes" as a
5 > > > >>>default or can we move to a pure udev system and change the default to
6 > > > >>>"no".
7 > > > >>
8 > > > >>I've been running my boxes successfully with "no" since the option
9 > > > >>showed up just fine :)
10 > > > >
11 > > > >I think people is under a misconception about this option and ... you
12 > > > >really only need to enable this for a driver that is not sysfs aware
13 > > > >(nvidia comes to mind - any others?), or if you have some custom nodes
14 > > > >in /dev that you cannot do via udev ... And I am pretty sure (correct
15 > > > >me if I am wrong) that all (or most?) in-kernel drivers are sysfs aware,
16 > > > >and only a handful outside are not.
17 > > >
18 > > > Well, I do have a small issue with the software RAID (md) driver, in
19 > > > that when autodetection is not performed by the driver (due to either
20 > > > being a module or booting the system through an initramfs), no sysfs
21 > > > entries or device nodes are created.
22 > > >
23 > > > Normally my RAID system is brought up inside my initramfs with static
24 > > > nodes, so this really only affects my recovery CD, where I need to run:
25 > > >
26 > > > for d in 0 1 2 3; do
27 > > > /sbin/mdadm --assemble --config=partitions --auto=md
28 > > > --super-minor=$d /dev/md$d >/dev/null 2>&1
29 > > > done
30 > > >
31 > > > Maybe something similar will be required in /sbin/rc, like you currently
32 > > > do for LVM and the device mapper? It isn't a critical problem
33 > > > though...I am pretty sure there are only a few Gentoo users who will
34 > > > ever see this...maybe as few as 1!!!
35 > >
36 > > Mike, what do you think? This viable? We could maybe add an init addon
37 > > for md, and move the lvm/whatever stuff to that as well?
38 >
39 > i dont see the point ... ive already fixed raidtools / mdadm to generate
40 > device nodes before running since udev doesnt do it correctly/at all
41
42 Ok, great .. just wanted to check ... Guess that is still in ~ ?
43
44
45 --
46 Martin Schlemmer

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] devfs is dead, let's move on Mike Frysinger <vapier@g.o>