[Pkg-libburnia-devel] Bug#1022851: xorriso: -clone across sessions copies, not clones

Thomas Schmitt scdbackup at gmx.net
Thu Oct 27 11:13:14 BST 2022


Hi,

after quite some problems to reproduce your report with a simpler sequence
of xorriso runs, i come to a riddling intermediate result.

It has to do with the name of the file which gets cloned:

  test -e /dvdbuffer/g && rm /dvdbuffer/g
  test -e /dvdbuffer/h && rm /dvdbuffer/h

  printf %s\\n "Hello, world!" >/dvdbuffer/f
  printf %s\\n "X Hello, world! X" >/dvdbuffer/x

  xorriso \
    -outdev /dvdbuffer/g \
    -map /dvdbuffer/x /hello/x \
    -map /dvdbuffer/f hello/hello.world

  xorriso \
    -indev /dvdbuffer/g \
    -grow-blindly 256 \
    -outdev /dvdbuffer/h \
    -clone /hello/hello.world /hello/hello.clone \
    -clone /hello/x /hello/xxx

  dd bs=2048 seek=256 conv=notrunc of=/dvdbuffer/g < /dvdbuffer/h

yields by

  xorriso -load sbsector 256 -indev /dvdbuffer/g -find / -exec report_lba --

this block address list

  Report layout: xt , Startlba ,   Blocks , Filesize , ISO image path
  File data lba:  0 ,      280 ,        1 ,       14 , '/hello/hello.clone'
  File data lba:  0 ,      280 ,        1 ,       14 , '/hello/hello.world'
  File data lba:  0 ,       57 ,        1 ,       18 , '/hello/x'
  File data lba:  0 ,       57 ,        1 ,       18 , '/hello/xxx'

I.e. /hello/x and its clone kept their block address, /hello/hello.world
and its clone got their content moved into the second session.

I will have to dig deeper. But for now the experiments ate up my time.
So i will have to go on later.

In any case thanks for the bug report.


Have a nice day :)

Thomas



More information about the Pkg-libburnia-devel mailing list