[Pkg-libburnia-devel] Bug#1126702: Option to truncate one or more sessions at the end of on image file.

Thomas Schmitt scdbackup at gmx.net
Sun Feb 1 08:33:51 GMT 2026


Hi,

the main part of this wish is already fulfilled, but only for
overwritable media. Image files are considered such media.
So you can use command  -truncate_overwritable .

Examples from the man page:

  Activate  session  4  and  enable  overwriting  of the blocks of
  younger sessions:

   -truncate_overwritable session 4 new

  Activate session 4 and claim the blocks of younger  sessions  as
  useless part of session 4:

   -truncate_overwritable session 4 old

  Let session 4 claim additional 500 MiB as useless data:

   -truncate_overwritable session 4 +500m

See also the longish explanation in the man page.

But this command does not truncate the image file size.
You will have to use command -toc afterwards to learn the block address
where the next session would be written.
E.g.:

  Media nwa    : 1374720s

means that the data after byte 1374720 * 2048 = 2815426560 are not
claimed by the remaining sessions in the ISO image.
This number can be used with truncate(1) option -s.  


Have a nice day :)

Thomas



More information about the Pkg-libburnia-devel mailing list