New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for UDF #5
Comments
First question: do we really need UDF support if most/all DVDs have UDF Bridge layout? Related standards docs (all paywalled): https://ansidotorg.blogspot.nl/2016/04/iso-image-and-udf-disk-image.html UDF bridge spec: https://www.ecma-international.org/publications/files/ECMA-TR/ECMA%20TR-071.PDF
https://en.wikipedia.org/wiki/DVD-Video (But: most recent source cited dates back to 2011!).
http://www.afterdawn.com/glossary/term.cfm/udf_bridge
http://www.blazevideo.com/blog/what-is-udf-and-udfiso%EF%BC%9F.html BUT below link suggests UDF-only DVDs do exist in the wild: https://askubuntu.com/questions/359264/how-to-open-udf-volume Wenguang's Introduction to Universal Disk Format (UDF): https://sites.google.com/site/udfintro/ Steps (I think?):
See also ECMA-167, which is more informative than UDF spec here. |
Creating a UDF file on Linux: https://unix.stackexchange.com/a/17613/187090 Create empty image:
Add file system:
Output:
From Isolyzer output for this image:
So image 1087488/2048 = 531 sectors smaller than expected! Reported properties:
Note freeSpaceTable value of 488 sectors (expected 0). Also note that the sizeTable value corresponds to PSPACE in mkudffs output above. |
UDF file size check now implemented e898200 BUT the file size estimate from the UDF headers is always 263-265 sectors short on the real file size (even in cases when ISO PVD fields give exact fit on actual file size). So perhaps the UDF-based estimate doesn't cover the whole file but starts some sectors into the image? |
Reported by Eddy Colloton. We probably need rudimentary UDF support (isolyzer results are as expected for all DVDs I've come across so far, but that might be because they are using the UDF Bridge format (hybrid ISO9660/UDF FS).Original issue turned out to be unrelated to the UDF fs, BUT UDF support might still be useful.
UDF spec (2005 revision):
http://www.osta.org/specs/pdf/udf260.pdf
Page 24, section 2.2.4 Logical Volume Descriptor, field LogicalBlockSize.
Then see page 26, section 2.2.6 Logical Volume Integrity Descriptor:
Which looks pretty much like what is needed to do the verification for UDF.
The text was updated successfully, but these errors were encountered: