Messages in this thread |  | | Date | Tue, 15 May 2001 08:15:23 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: 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/
|  |