From scdbackup at gmx.net Sun Feb 1 08:33:51 2026 From: scdbackup at gmx.net (Thomas Schmitt) Date: Sun, 01 Feb 2026 09:33:51 +0100 Subject: [Pkg-libburnia-devel] Bug#1126702: Option to truncate one or more sessions at the end of on image file. In-Reply-To: References: Message-ID: <25892500835539627614@scdbackup.webframe.org> 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 From scdbackup at gmx.net Sun Feb 1 08:54:02 2026 From: scdbackup at gmx.net (Thomas Schmitt) Date: Sun, 01 Feb 2026 09:54:02 +0100 Subject: [Pkg-libburnia-devel] Bug#1126705: Option to change metadata without adding a new session. In-Reply-To: References: Message-ID: <26522500842390746676@scdbackup.webframe.org> Hi, this is a very big wish for which no infrastructure is present in xorriso. The idea of changing data in existing sessions is not yet in the concept of xorriso (except maybe in -truncate_overwritable). As you mentioned, many operations of xorriso would not be adaptable to in-session editing. I could imagine a simple tool which patches ISO 9660 superblocks of which the session start is given as block address. This block address would be 0 for the default-mountable superblock. The superblocks of the particular sessions are listed by command -toc under "sbsector". E.g.: TOC layout : Idx , sbsector , Size , Volume Id ISO session : 1 , 32 , 1340329s , HOME_Z_2026_01_24_222106 ISO session : 2 , 1340384 , 34330s , HOME_Z_2026_01_31_225237 The address of the Volume Id is (sbsector + 16) * 2048 + 40 The number of bytes at that adress is 32. See ECMA-119 8.4 "Primary Volume Descriptor" for start bytes (plus one) and end bytes (plus one). E.g. the specs say: 41 to 72 Volume Identifier So the byte offset in the PVD is 40 and the size is (72 - 41 + 1) = 32. Have a nice day :) Thomas From scdbackup at gmx.net Sun Feb 1 09:28:15 2026 From: scdbackup at gmx.net (Thomas Schmitt) Date: Sun, 01 Feb 2026 10:28:15 +0100 Subject: [Pkg-libburnia-devel] Bug#1126706: Option to revert to an earlier session. In-Reply-To: References: Message-ID: <25322500840339180240@scdbackup.webframe.org> Hi, this wish is already fulfilled by command -load . The command may be given before or after the -dev or -indev command. Because -dev or -indev before -load would first load the most recent session and only then load the desired session, i propose xorriso -load session 2 -dev /dev/sr0 ...other.commands... As one can see in the man page, command -load can be used with other address criteria than the session number. Like: -load sbsector 1340384 -load volid '*2026_01_31*' -load before 'Feb 01 2026' -load after 'Jan 25 20:00 2026' "sbsector" corresponds to mount(8) option -o sbsector= . The numbers are shown by command -toc in column "sbsector". "volid" searches with shell-like patterns in the Volume Id fields of the superblocks. "before" and "after" search in the Modification Time fields. For examples of time strings see "Examples of input timestrings" in man xorriso. Have a nice day :) Thomas From owner at bugs.debian.org Sun Feb 1 09:37:09 2026 From: owner at bugs.debian.org (Debian Bug Tracking System) Date: Sun, 01 Feb 2026 09:37:09 +0000 Subject: [Pkg-libburnia-devel] Bug#1126706: marked as done (Option to revert to an earlier session.) References: <253505008398081000651@scdbackup.webframe.org> Message-ID: Your message dated Sun, 01 Feb 2026 10:37:00 +0100 with message-id <253505008398081000651 at scdbackup.webframe.org> and subject line Re: Option to revert to an earlier session. has caused the Debian Bug report #1126706, regarding Option to revert to an earlier session. to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 1126706: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126706 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: techlord8 at web.de Subject: Option to revert to an earlier session. Date: Fri, 30 Jan 2026 23:23:25 +0000 Size: 8625 URL: -------------- next part -------------- An embedded message was scrubbed... From: "Thomas Schmitt" Subject: Re: Option to revert to an earlier session. Date: Sun, 01 Feb 2026 10:37:00 +0100 Size: 8176 URL: