Re: udev and devfs - The final word

Pascal Schmidt
2003-12-31T03:06:11Z

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