Changes from v2:
* Fix trailing whitespace
* Support big-endian platforms
* Handle images that don't place the expandable image(s) at the end of the 
volume.

With this iso-info now produces the expected result on an xorriso generated 
test image:

/[boot]/:
  - [LSN  20514]      2048 Jan 29 2024 20:34:45  0-boot-noemul.img
  - [LSN     34]  41943040 Jan 29 2024 20:34:45  1-boot-noemul.img

Also available at: https://github.com/pbatard/libcdio/commits/eltorito/

Regards,

/Pete


Pete Batard (4):
  Add case insensitive _cdio_stricmp and _cdio_strnicmp function calls
  Add El Torito virtual boot image support
  Add --no-el-torito option to iso-info
  Add El Torito tests

 include/cdio/iso9660.h   |  40 ++++++++++++-
 include/cdio/util.h      |   7 +++
 lib/driver/libcdio.sym   |   2 +
 lib/driver/util.c        |  29 +++++++++
 lib/iso9660/iso9660_fs.c | 125 ++++++++++++++++++++++++++++++++++++++-
 src/iso-info.c           |  14 ++++-
 test/Makefile.am         |  10 ++--
 test/check_eltorito.sh   |  57 ++++++++++++++++++
 test/data/eltorito.iso   | Bin 0 -> 55296 bytes
 test/data/eltorito_file  | Bin 0 -> 512 bytes
 test/eltorito.right      |  12 ++++
 test/no_eltorito.right   |   8 +++
 12 files changed, 291 insertions(+), 13 deletions(-)
 create mode 100755 test/check_eltorito.sh
 create mode 100644 test/data/eltorito.iso
 create mode 100644 test/data/eltorito_file
 create mode 100644 test/eltorito.right
 create mode 100644 test/no_eltorito.right

-- 
2.43.0.windows.1


Reply via email to