growisofs
can create UDF file systems that co-exist with ISO9660, but can not continue a UDF-only file system. mkudffs
can only create new UDF file systems, not burn new sessions to a disc based on an existing UDF file system.Is there any tool for Linux that can multisession an UDF-only file system?
I am not talking about packet writing.
Why not just use UDF? UDF because it doesn't downgrade file names (example below) and has no 2 GB limit.
I started a multisession disc using:
Code: Select all
growisofs -Z /dev/sr1 -iso-level 3 -full-iso9660-filenames -allow-limited-size -udf -V "volume name" "folder to be written to disc"
In the command, I forgot to specify
-r
for Rock Ridge (which allows preserving original file names and supports Unix-like permissions), and the ISO9660 tree only contains garbage uppercase-only file names like EXAMPLE_NAME.MP4
. In addition, ISO9660 appears to have a 2 GB file size limit (after all, it was made for 700 MB CD-ROMs). Rock Ridge and Joliet don't get around the 2 GB limit because they are not standalone file systems, only extensions for ISO9660, so UDF is required to store files above 2 GB.Therefore, it would be desirable to create the next session on the disc based on the existing UDF file system. But it appears
growisofs
does not do that.Instead,
growisofs
appears to re-generate the UDF file tree from the ISO9660 file tree when resuming sessions. Therefore, it is not possible to create a new session without losing files over 2 GB and losing the original file names.The
-allow-limited-size
allows files that exceed 2 GB to be referenced from the ISO9660 tree, but with an incorrect size. Wikipedia suggests the file size limit is 4 GB and "ISO 9660 Level 3" can get around this with duplicate entries of the same file, but if that is true, growisofs
and genisoimage
have not implemented it.How to resume a multisession disc based on the UDF tree?
----
For reference, ISO9660 is the file system created for CD-ROMs where as UDF is far more modern and was made for DVDs but is also used on Blu-rays due to its futureproofness. Both file systems can co-exist on the same disc (UDF bridge format).