clalancette / pycdlib

Python library to read and write ISOs
GNU Lesser General Public License v2.1
147 stars 38 forks source link

Ability to read HD UDF files? #87

Open dmarkey opened 2 years ago

dmarkey commented 2 years ago

Hi there,

I was wondering if there would be any way for this library to allow me to read "HD" style UDF images that are made via:

mkudffs -m hd /foo

When I try to open foo above it complains that it's not a valid iso..

Thanks!

clalancette commented 2 years ago

Sorry for the long delay here.

In short, this may be possible, but it probably requires a substantial rewrite of the library. This library was really written around ISOs and mostly hangs off of the PVD, which is the main data structure in ISO9660. Unfortunately, UDF-only files don't have this, so a lot of the deep assumptions of this library would need to be revisited.

It's probably possible, but I doubt I'll have time to dig into it. If someone is interested in doing it, I'd be happy to review patches that pushes us in that direction.