lkml.org 
[lkml]   [2001]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: LANANA: To Pending Device Number Registrants

On Tue, 15 May 2001, Alan Cox wrote:
>
> For block devices that seems to work well. char devices are harder and I'd
> rather issue the occasional new major than have people registering automatic
> cabbage slicers as a tty or a disk because they cant get a device id.

What are the valid cases that couldn't just register as a misc'ish
driver? The one that stands out is serial devices (you have hundreds of
them), but that's the same argument as a disk anyway.

I'd be much happier with trying to expand on /proc/devices etc, so that
the user _can_ get valid information. Otherwise you end up with the stupid
setup where we keep track of static allocations of numbers for truly
specialty hardware ("I have a lip-frobnicator made by Acme Industries that
I wrote a driver for, and I need 16 minor numbers for it").

Right now we have wasted the minors in the misc device the same way we
wasted the majors in general, and for the same (bogus) reasons.

Linus

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

\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.206 / U:11.788 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site