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

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