[lkml]   [2001]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFD w/info-PATCH] device arguments from lookup, partion code in userspace

    On Sat, 19 May 2001, Andrew Morton wrote:

    > So. When am I going to be able to:
    > open("/bin/ls,-l,/etc/passwd", O_RDONLY);

    You are not. Think for a minute and you'll see why.

    Linus' idea of /dev/tty/<parameters> is marginally sane - it makes sense
    to consider that as configuring-upon-open. You _are_ going to do IO on
    that file.

    Ben's /dev/md0/<living_horror> is ugly - it's open just for side effects,
    with no IO supposed to happen.

    His idea of passing file descriptor instead of name makes these side effects
    even messier.

    The stuff you've proposed is a perversion worth of Albert. You've introduced
    additional metacharacter into filenames, you will need some form of quoting
    to be able to pass literal commas and you will need to quote slashes. It's
    way past ugly.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:53    [W:0.020 / U:49.204 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site