libcdio-devel
[Top][All Lists]
Advanced

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

Re: [Libcdio-devel] Can we merge branch "joliet_multi_extent" ?


From: Thomas Schmitt
Subject: Re: [Libcdio-devel] Can we merge branch "joliet_multi_extent" ?
Date: Mon, 27 Mar 2023 09:23:25 +0200

Hi,

to revive the processing of branch "joliet_multi_extent" i made some
experiments:

The branch merges without problems with a branch that was freshly
created from "master". So i assume that it is good for "master", too.

I hacked GNU xorriso to create extents of only 16 KiB each.
Macros MAX_ISO_FILE_SECTION_SIZE and ISO_EXTENT_SIZE in libisofs/ecma119.h
were set to 16384. Then i created an ISO image with Joliet and without
Rock Ridge of a file with ~360 KiB (actually /bin/tar):

  xorriso -compliance no_emul_toc -padding 0 -joliet on -rockridge off \
          -outdev joliet_multi_extent.iso \
          -map /bin/tar /FileWithManyExtents

Inspection by
  xorriso -indev joliet_multi_extent.iso -toc -find / -exec report_lba --
shows that Joliet was loaded and the file is represented by 22 extents:

  Media blocks : 208 readable , 188491924 writable , 188492148 overall
  ISO offers   : Joliet
  ISO loaded   : Joliet
  ...
  Report layout: xt , Startlba ,   Blocks , Filesize , ISO image path
  File data lba:  0 ,       33 ,        8 ,   358072 , '/FileWithManyExtents'
  ...
  File data lba: 21 ,      201 ,        7 ,   358072 , '/FileWithManyExtents'

I get from the programs of branch "joliet_multi_extent":

  $ iso-info -i joliet_multi_extent.iso -l
  ...
  Joliet Level: 3
  ...
    - [LSN     33]    358072 Nov 08 2014 19:48:38  FileWithManyExtents

  $ iso-read --image=joliet_multi_extent.iso \
             --extract=FileWithManyExtents --output-file=../tar_from_iso
  $ diff tar_from_iso /bin/tar
  $

So for me it looks ready for merging.
Other, more realistic experiments would be welcome.


Have a nice day :)

Thomas




reply via email to

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