lkml.org 
[lkml]   [2004]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: silent semantic changes with reiser4
    Hi!

    > > You do need extra tools anyway, placing them in the kernel is cheating (and
    > > absolutely pointless, IMHO).
    >
    > I agree.
    >
    > There's no point to having the kernel export information that is already
    > inherent in the main stream.
    >
    > I've seen all these examples of exposing MP3 ID information as a "side
    > stream", and that's TOTALLY POINTLESS! The information is already there,
    > it's in a standard format, and exporting it as a stream buys you
    > absolutely nothing.

    It buys me caching. I do quite often

    bzcat patch.2.6.8.bz2 | less (read the patch)
    (sometimes repeat that few times because I hit ^c when I should not
    have etc).
    cd ...clean; bzcat patch.2.6.8.bz2 | patch -Esp1
    cd ...linux; bzcat patch.2.6.8.bz2 | patch -Esp1

    Now... that's total waste of cpu. bzip2 decompression takes quite some
    time.

    I could do

    bzcat patch.2.6.8.bz2 > /tmp/delete.me.when.you.are.done

    ...but I'd probably forget to delete that one and anyway, it requires
    me to think about it. Nicest way would be

    cat patch.2.6.8.bz2/ubz | less
    cd ...clean; cat patch.2.6.8.bz2/ubz | patch -Esp1
    cd ...linux; cat patch.2.6.8.bz2/ubz | patch -Esp1

    with kernel intelligently caching uncompressed data. I believe this
    can not be done completely in userspace.
    Pavel
    --
    People were complaining that M$ turns users into beta-testers...
    ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
    -
    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:05    [W:4.117 / U:0.100 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site