Skip to content

Fix UDF large-file support.#167

Merged
clalancette merged 1 commit intomasterfrom
clalancette/fix-udf-large-files
Apr 27, 2026
Merged

Fix UDF large-file support.#167
clalancette merged 1 commit intomasterfrom
clalancette/fix-udf-large-files

Conversation

@clalancette
Copy link
Copy Markdown
Owner

The problem was that UDF file entries for large files specify a single entry with the maximum size, but
we were splitting the Inodes up into smaller chunks for ISO9660 support. That means that the UDF File Entry actually only had the size for one of the pieces,
not the whole thing.

We fix this by having inodes record their extent_offset, which is always 0 for ISO9660 but will be non-zero for very large UDF files.

Fixes #65

The problem was that UDF file entries for large files
specify a single entry with the maximum size, but
we were splitting the Inodes up into smaller chunks for
ISO9660 support.  That means that the UDF File Entry
actually only had the size for one of the pieces,
not the whole thing.

We fix this by having inodes record their extent_offset,
which is always 0 for ISO9660 but will be non-zero for
very large UDF files.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette clalancette force-pushed the clalancette/fix-udf-large-files branch from d8ed35c to a1fcd48 Compare April 27, 2026 16:43
@clalancette clalancette merged commit 712c997 into master Apr 27, 2026
5 checks passed
@clalancette clalancette deleted the clalancette/fix-udf-large-files branch April 27, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UDF format ISO Large file support

1 participant