Hi,
mount the DVD with the "-t iso9660" option, files/dirs of
both sessions are visible.
Fascinating! This would never had occurred to me. :p
That's why those filesystems are called hybrids. They have more than one superblock, each leading to
an own directory tree. The data file content is shared between those trees.
The wodim thing always returns "0,0".
That's because you use DVD+RW, which is a medium type that does no multi-session by hardware. growisofs (and xorriso) overwrite the ISO 9660 superblock that corresponds to -C 0,x in order to force the mounting operating systems into reading the youngest ISO 9660 directory tree. They take the Next Writable Address (the second parameter of -C) from the inspection of the previous superblock, which they overwrite at the end of the burn process.
wodim actually is not really suitable for DVD.
cdrecord may meanwhile do multi-session on sequential media (i did not follow its DVD
evolution since 2006).
If you want a cdrecord-ish command line interface with DVD and BD, use (my) cdrskin or xorrecord.
This makes the -C option of genisoimage and/or growisofs unusuable.
growisofs knows what to do and how to let genisoimage, mkisofs, or xorrisofs produce the correct offset.
the "xorriso -indev /dev/sr1 -toc" command yeilds results that seem to only see one session
That's because growisofs starts the first session at -C 0,0 and overwrites its superblock after every new session.
xorriso (in its personality as itself) starts at the equivalent of -C 0,32 and writes a copy of that superblock to the address that matches -C 0,0. The following sessions do not overwrite the -C 0,32 superblock. This superblock can tell xorriso where the session ends and thus where the superblock of the next session is stored. So it can hop along that list up to the last session.
A DVD+RW started by xorriso may then yield
Code: Select all
ISO session : 1 , 32 , 847268s , HOME_Z_2014_12_19_224055
ISO session : 2 , 847328 , 19065s , HOME_Z_2014_12_21_232632
...
ISO session : 14 , 1214976 , 40614s , HOME_Z_2015_01_04_221807
Media summary: 14 sessions, 1255322 data blocks, 2452m data, 2030m free
Burning as I had been doing before, but with the UDF options taken out yeilds a correct multi-session DVD with all files/dirs visible. This is using -Z for the first session and -M for the second. This is without any -C option.
man growisofs states that growisofs will construct -C for you.
Ok. We learn that growisofs does no UDF multi-session emulation on overwritables (DVD-RAM, DVD+RW, formatted DVD-RW, BD-RE).
On sequential media (DVD-R, DVD+R, unformatted DVD-RW) this may be different. The operating system might then find the UDF anchor in the newest session and thus see the newest directory tree.
BD-R might be peculiar because growisofs insists in writing them in Pseudo Overwrite mode. That could create a situation like on DVD+RW.
The conclusing seems to be that burning without UDF (but with the rock ridge extensions of -r) is a solution.
Actually the problem was Linux eagerness of mounting UDF. But i am no fan of UDF anyway. So i wholeheartedly support your conclusion. ISO 9660 and Rock Ridge are best.
What I will need to investigate is the iso level 3 with intent to be able to burn files larger than 4 gig.
FreeBSD, NetBSD, (probably OpenBSD too), and Solaris fail miserably on large files in ISO 9660, i fear.
Not easy to fix them, for various reasons: fubar, not enough courage to apply my fix, (dunno), dead.
The long-term goal here is to be able to burn Blu Ray as multi-session.
Should be no problem with growisofs or xorriso.
(Except the bug
https://bugs.debian.org/cgi-bin/bugrepo ... bug=713016 which can be worked around by formatting the BD-R before the first growisofs session or by use of growisofs option
on unformatted BD-R.)
because a full 25 gig burn can take a long time.
Especially if slow checkreading is enabled on formatted media.
One way to avoid this is xorriso command
.
Have a nice day

Thomas