libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] Hindsight is 2020 - Let's sort multiextents at last


From: Thomas Schmitt
Subject: Re: [Libcdio-devel] Hindsight is 2020 - Let's sort multiextents at last
Date: Fri, 22 May 2020 21:06:40 +0200

Hi,

Pete Batard wrote:
> And yeah, what's missing from the proposal would be an actual test with a
> multiextent image,

I meanwhile read up to the test plan of my overly complicated branch
ts-multiextent which i sent as part of its announcement.
  Date: Fri, 06 Jul 2018 20:09:19 +0200
  Message-Id: <address@hidden>
  Subject: [Libcdio-devel] [RFC] New API iso9660_statv2_t as API/ABI
           compatible way to read files >= 4 GiB

Search for:
  Test runs on GNU/Linux

A small ISO with artificially small extents is available at

  http://scdbackup.webframe.org/multi_extent_8k.iso.gz

  MD5 c2c57fa0bc428f6032b33f61ceae8bef
  12,843 bytes compressed, 524,288 uncompressed.

Extent layout as seen by libisofs:

  $ xorriso -indev multi_extent_8k.iso -find / -exec report_lba --
  ...
  Report layout: xt , Startlba ,   Blocks , Filesize , ISO image path
  File data lba:  0 ,       55 ,        4 ,    54305 , '/multi_extent_file'
  File data lba:  1 ,       59 ,        4 ,    54305 , '/multi_extent_file'
  File data lba:  2 ,       63 ,        4 ,    54305 , '/multi_extent_file'
  File data lba:  3 ,       67 ,        4 ,    54305 , '/multi_extent_file'
  File data lba:  4 ,       71 ,        4 ,    54305 , '/multi_extent_file'
  File data lba:  5 ,       75 ,        4 ,    54305 , '/multi_extent_file'
  File data lba:  6 ,       79 ,        3 ,    54305 , '/multi_extent_file'

File content is a snippet from xorriso's source.

Realistic extent sizes are in:

  http://scdbackup.webframe.org/large.iso.bz2

  MD5 7d78dc3efaec8ea3f1801335329f410d
  4,470 bytes compressed, 4,329,897,984 bytes uncompressed.

  Report layout: xt , Startlba ,   Blocks , Filesize , ISO image path
  File data lba:  0 ,       56 ,  2097151 , 4329375744 , '/my/large_file'
  File data lba:  1 ,  2097207 ,    16802 , 4329375744 , '/my/large_file'
  File data lba:  0 ,  2114040 ,        1 ,        6 , '/small_file'

absolutely boring file content, of course.


Have a nice day :)

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]