1 |
On Fri, Jul 08, 2005 at 01:22:24AM +0200, Martin Schlemmer wrote: |
2 |
> On Thu, 2005-07-07 at 13:52 -0700, Greg KH wrote: |
3 |
> > On Thu, Jul 07, 2005 at 03:55:45PM +0200, Martin Schlemmer wrote: |
4 |
> > > On Wed, 2005-07-06 at 15:46 -0700, Greg KH wrote: |
5 |
> > > > Ok, now that devfs is removed from the 2.6 kernel tree[1], I think it's |
6 |
> > > > time to start to revisit some of the /dev naming rules that we currently |
7 |
> > > > are living with[2]. |
8 |
> > > > |
9 |
> > > > To start with, the 061 version of udev offers a big memory savings if |
10 |
> > > > you use the "default" kernel name of a device[3]. If you do that, it does |
11 |
> > > > not create a file in its database in /dev/.udevdb/ |
12 |
> > > > |
13 |
> > > > If we can move away from some of our devfs-like names, we stand to |
14 |
> > > > reclaim a lot of memory from everyone's machines. As an example, if we |
15 |
> > > > drop all of the tty/pts/vc/vcc symlinks, and just go with the default |
16 |
> > > > kernel name, we save 2.5Mb of space in tempfs/ramfs. I've done this on |
17 |
> > > > my machines and everything seems to work just fine (it looks like |
18 |
> > > > everything that was trying to use a tty node was just using the symlink |
19 |
> > > > anyway.) |
20 |
> > > > |
21 |
> > > > So, anyone have any objections to me changing the default udev naming |
22 |
> > > > scheme in this manner? |
23 |
> > > > |
24 |
> > > |
25 |
> > > Fine with me. I assume we will need to keep the rcscript support for |
26 |
> > > those die-hard 2.4 users still, but hopefully we can eventually drop |
27 |
> > > that as well. |
28 |
> > |
29 |
> > What rcscript support? |
30 |
> > |
31 |
> |
32 |
> Err, sorry, all the crap in /sbin/rc ... |
33 |
|
34 |
Heh, yes. While looking in there, I was wondering if anyone would |
35 |
object to splitting the udev and devfs stuff out of the main rc script, |
36 |
like other parts have been split out? That way I could bundle the udev |
37 |
portions in the udev package and then keep them up to date (like the |
38 |
"save modified device nodes logic") ? |
39 |
|
40 |
thanks, |
41 |
|
42 |
greg k-h |
43 |
-- |
44 |
gentoo-dev@g.o mailing list |