[lkml]   [2001]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [CFT][PATCH] large /proc/mounts and friends
    On Mon, Oct 15, 2001 at 09:01:17PM -0700, Linus Torvalds wrote:

    But you're probably right that it doesn't really matter, and as we
    really have "pipe" semantics we might as well dis-allow any lseek
    except to the beginning (I know that there have been apps out
    there that avoid re-opening /proc files by lseek'ing to zero and
    re-reading - they may not be common enough to matter, though).

    I always wondered why for a number of /proc entries that aren't really
    files why we don't simply expose them as pipes as opposed to
    zero-length files? Surely that will confuse fewer user-land programs
    as well and feeling more technically correct?

    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 13:08    [W:0.026 / U:99.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site