lkml.org 
[lkml]   [2002]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: bzip2 support against 2.4.18
    On Fri, Jul 12, 2002 at 10:25:37AM -0400, Tom Oehser wrote:
    > > Do you really? Why? Exactly what purpose does it serve to know how your
    > > kernel was compressed, considering that it knows how to uncompress itself?
    > I already use the name in scripts for tomsrtbt to decide whether the ramdisk
    > should be compressed with bzip2 or gzip, since the kernel compression method
    > (in my original patch) determines the required ramdisk compression.

    This doesn't sound like the proper way to do this. Naming conventions are
    notoriously inaccurate and limited, when it comes to detecting capabilities.

    It would be far better to have a set of flags at the beginning of the image,
    that detailed the capabilities. For example, what if the kernel supported
    bzip2 or gzip initrd images? You would be unable to detect whether gzip
    initrd images were supported in a bzip2 kernel.

    The 'bzImage' name should only change, after an architectural decision
    is made to simplify the single name. The 'bzImage' does not define how
    the image is compressed, only that it _is_ compressed.

    mark

    --
    mark@mielke.cc/markm@ncf.ca/markm@nortelnetworks.com __________________________
    . . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
    |\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
    | | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada

    One ring to rule them all, one ring to find them, one ring to bring them all
    and in the darkness bind them...

    http://mark.mielke.cc/

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