Skip to content
Snippets Groups Projects
  1. Aug 21, 2014
  2. Aug 20, 2014
  3. Aug 19, 2014
  4. Aug 15, 2014
  5. Aug 14, 2014
  6. Aug 13, 2014
    • Jonathon Duerig's avatar
    • Mike Hibler's avatar
      If there are no valid data to save, exit with an error. · ad5e8d9e
      Mike Hibler authored
      E.g., telling it to save an unused (type 0) partition. Previously, we
      would create a single valid range with start at the beginning of disk
      (or partition) and a size of zero. However, size zero is taken by the
      imagezip compressor to mean "til EOF" so we would wind up creating a
      really large image instead of doing nothing.
      
      It is debatable whether this is really an error. Perhaps we should just
      create a valid image file with one chunk containing no valid ranges, but
      it seems likely that they probably made a mistake and we should call it
      out immediately.
      ad5e8d9e
Loading