Re: LANANA: To Pending Device Number Registrants

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 15 May 2001 00:19:15 +0100 (BST)


> > 323
> > Also hdparm
> > raidtools
> > psmisc
> > mtools
> > mt-st
> > gpm
> > joystick
>
> so we now have a list of stuff that needs to be fixed 8)
> or at least, a cross section sampling of stuff to design a new API for.

Yes. Most of it actually uses the major stuff to answer the question
'what ioctls are valid' 'what type of thing am I bashing on'

Just issuing ioctls doesnt help as we have overlaps 8( Also we dont want to
get into the DOS like execute 135 queries to figure out what it is by
deep magic patterns.

One suggestion is to do something like
if(MAJOR_HAS(st, named-property))

which solves that and also nicely fixes an extant problem in that there isnt
a good way to break down heirarchies of ioctl features right now. That is
one thing devfs namespaces can be abused to solve but isnt really the right
use of it.

-
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/