K3B (growisofs) too many directories
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
k3b (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
hello . . .
I have successfully used K3B for many years doing monthly FULL backups to DVDs and then BDs except for this month.
I tried to backup my system K3B 2.0.2 and received a few error messages primarily being told that K3B could not calculate the file size.
I downloaded Kubuntu 15.10 with K3B 2.0.3 and using a USB stick began K3B. Same error message.
I isolated the problem (maybe). growisofs generates an error telling me that my burn has "too many directories". The number 65535 (?) follows the message. This is the base error for all my other error messages. K3B cannot calculate the file size because not all the directories are calculated (?).
I removed /usr (biggest number of directories) and the burn was successful. I used a DVD-DL to burn /usr and again successful.
It looks like I have maxed out the limit on directories. Never thought that would happen.
K3b
Version 2.0.2 / 2.0.3
Using KDE Development Platform 4.14.13 and Kubuntu 15.10 downloaded 6Dec15.
Hope this helps.
Hi,
the error message rather stems from genisoimage (or mkisofs)
which works underneath K3B and also underneath growisofs if
used like in the man page example
growisofs -Z /dev/dvd -R -J /some/files
The number 65535 is a limit of the "Path Table", an antique
structure which records all directories and which hardly any
reader interprets.
Nevertheless it restricts the number of parent directories
to the range of 0 to 65535, because any entry in this table has
to refer to its boss by a 16 bit number.
The number of directories is allowed to exceed this range.
But one would have to sort apart those directories which have
directories as children (i.e. which must be mentioned as parents
in the table).
I had a look into libisofs, where i am currently the developer.
The path table code is inherited from my predecessor. It does
not take care to keep the 16 bit numbers in path table from
rolling over. (Maybe it should do ...)
So you may try to use xorrisofs out of package xorriso.
K3B might be unwilling to use it, if you do not name it "mkisofs"
or "genisoimage".
Or you may try GUI program Xfburn instead of K3B.
Have a nice day :)
Thomas