Re: LANANA: To Pending Device Number Registrants

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


> Wouldn't it be better just to *try* ioctls and see which ones work and
> which ones don't?

1. We have overlaps

2. I've seen code where people play clever ioctl tricks to deduce a device
type and it ends up looking like one of those chemistry identification
charts (hopefully minus do you see smoke ?)

It should be clean and explicit

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