Attempt to write bootpack in Perl, shortly to be abandoned due to various
authorMichael Brown <mcb30@dolphin.home>
Sun, 18 Nov 2007 15:02:36 +0000 (15:02 +0000)
committerMichael Brown <mcb30@dolphin.home>
Sun, 18 Nov 2007 15:02:36 +0000 (15:02 +0000)
commitb25d8026a435ec554cc4f24913f90773a22e4c60
treea24097a6658ccaf7cc5cb12952d9161994945907
parent363f583d1b39fe7fb2d4fce9f9399e120bc835f4
Attempt to write bootpack in Perl, shortly to be abandoned due to various
constraints:

  The gzio interface to zlib provides no way to obtain the length of the
  compressed data stream, which makes padding the resulting output to a
  multiple of four bytes impossible when the output is not a file.
  (Attempting to intercept the output stream with a custom IO::File class
  doesn't work because Compress::Zlib grabs the underlying file descriptor
  anyway.)

  There seems to be no widely-available way to parse a dev_t into major
  and minor components.

  Use of Perl will, in any case, be a barrier to wide deployment for a
  project such as this.
tools/bootpack