Package: xorriso
Severity: wishlist

I suggest adding an option to change metadata such as volume ID without adding 
a new session (where possible).

When trying to modify a volume label using:

xorriso -dev tmp.iso -volid "new volume label"

xorriso indeed changes the volume label, but also adds a new session at the 
end. Of course, this is unavoidable on write-once media, but on overwritable 
media and disc images, it should be possible to modify the metadata of an 
existing session (such as volume label) without adding a new session.

My suggestion would be something like this:

xorriso -dev tmp.iso -edit_session 1 -volid "new volume label"

This will only change the volume label of the first session without adding a 
new session at the end, if it is possible. Otherwise (on write-once media), 
xorriso will return an error. 

Also, some commands like -map (adding new files) would be impossible on an 
older session because unlike metadata fields (fixed size), the file and 
directory metadata have a variable length.

I also suggest an -append-only option like this:

xorriso -dev tmp.iso -append-only -volid "new volume label"

This would mimic writing on write-once media regardless of media type, by only 
appending data at the end without touching the first session.

Reply via email to