lkml.org 
[lkml]   [2004]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: file as a directory
    Peter Foldiak wrote:

    >On Thu, 2004-12-16 at 18:48, Hans Reiser wrote:
    >
    >
    >>David Masover wrote:
    >>
    >>
    >>>Speaking of which, how much speed is lost by starting up a process?
    >>>
    >>>The idea of caching is that running
    >>>
    >>>cat *; cat *; cat *; cat *; cat *
    >>>
    >>>is probably slower than
    >>>
    >>>cat * > baz; cat baz; cat baz; cat baz; cat baz; cat baz
    >>>
    >>>
    >>Only for small files where the per file overhead of a read is significant.
    >>
    >>
    >
    >But if the glued "file" is a stream (or pipe?) you can't do everything
    >with it (e.g. seek() ) that you could do with a proper file, right?
    >
    >
    It does not need to be a pipe-like file. Seek can be implemented for a
    composite (glued) file.

    >You may want to do everything with it that you can do with a proper
    >file.
    >
    >-
    >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/
    >
    >
    >
    >

    -
    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 14:08    [W:4.384 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site