Re: udev and devfs - The final word

From: Pascal Schmidt
Date: Tue Dec 30 2003 - 22:10:37 EST


On Wed, 31 Dec 2003 01:40:09 +0100, you wrote in linux.kernel:

> 2) udev does not care about the major/minor number schemes. If the
> kernel tomorrow switches to randomly assign major and minor numbers
> to different devices, it would work just fine (this is exactly
> what I am proposing to do in 2.7...)

Why? I want to keep my static device files in /dev. I don't even have
hotpluggable devices, and many months do pass before even one piece
of hardware gets changed (in which case I know what I have to do).
I don't want to eat any overhead or run any daemons or hotplug agents.

What benefit would there be in "random" numbers? More compressed number
space by giving out numbers sequentially? Or less having to work with
the numbers because they become just cookies and never need to be
inspected except in very small parts of the kernel?

--
Ciao,
Pascal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/