Messages in this thread | | | Date | Tue, 15 May 2001 23:39:13 +0200 | From | Martin Dalecki <> | Subject | Re: LANANA: To Pending Device Number Registrants |
| |
Linus Torvalds wrote:
> and then use > > fd = open("/dev/fd0/colourspace", O_RDWR);
> This, btw, is Al Viro's wet dream. But I have to agree: using name spaces > etc is MUCH preferable to ioctl's, makes code more readable and logical, > and often makes it possible to do things you couldn't sanely do before > (control these things from scripts etc). > > And using ASCII names ("eject") instead of numbers (see the "FDEJECT" and > "CDROMEJECT" etc #defines) sure as hell makes for easier maintenance and > avoids the whole issue of maintaining static numbers (all the same things > that make me hate device number maintenance makes me also hate the fact > that we need to maintain this list of ioctl numbers etc). By using > descriptive names, the "maintenance" simple does not exist.
Blah blah blah.... Now we have just one ugly cluttered undocumented (please insert the list of you favourite invictions here) /proc. This way we would have TONS of them. - 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/
| |