[lkml]   [2001]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: File System Performance

    On Mon, 12 Nov 2001, Lionel Bouton wrote:

    > Linus Torvalds wrote:
    > >In article <>,
    > >Andrew Morton <> wrote:
    > >
    > >>It's tar. It cheats. It somehow detects that the
    > >>output is /dev/null, and so it doesn't read the input files.
    > >>
    > >
    > >Probably the kernel.
    > >
    > Seems not the case with gnu tar : write isn't even called once on the fd
    > returned by open("/dev/null",...). In fact a "grep write" on the strace
    > output is empty in the "tar cf /dev/null" case. Every file in the tar-ed
    > tree is stat-ed but no-one is read-ed.

    This kind of guessing from gnu tar seems utterly stupid to me. Developpers
    that spend time for such kind of fake optimization either have time to
    waste or brain to be fixed. Just my opinion.


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