-
Notifications
You must be signed in to change notification settings - Fork 39
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
UDF format ISO Large file support #65
Comments
Ah, interesting. The issue here is a limitation of ISOs. Regular ISO9660 can only create files of up to 4GB. However, it allows "splitting" files into smaller files, so you can effectively get larger file sizes. UDF does not have the 4GB file limitation. However, pycdlib treats all ISOs as ISO9660 compatible, with optional UDF support. So it still splits up all files into smaller chunks so that they are still viable from the ISO9660 perspective. I'm not sure how to resolve this, to be honest. We could add a "UDF-only" mode, but it's actually quite a lot of work and I've been stuck trying to do that for years now (see #19, for instance). Otherwise, in order to maintain compatibility with older ISO9660, we kind of have to keep doing this splitting. I'm open to other ideas, but I can't think of how to fix this right now. |
Interesting. Forgive my ignorance of the various iso standards and limitations. When I changed my ISO format to Joliet it stopped splitting the files. I have 1 8GB file now. Is that an expected behavior?
Mark
…________________________________
From: Chris Lalancette ***@***.***>
Sent: Wednesday, April 28, 2021 9:49:54 PM
To: clalancette/pycdlib ***@***.***>
Cc: MarkBaggett ***@***.***>; Author ***@***.***>
Subject: Re: [clalancette/pycdlib] UDF format ISO Large file support (#65)
Ah, interesting.
The issue here is a limitation of ISOs. Regular ISO9660 can only create files of up to 4GB. However, it allows "splitting" files into smaller files, so you can effectively get larger file sizes.
UDF does not have the 4GB file limitation. However, pycdlib treats all ISOs as ISO9660 compatible, with optional UDF support. So it still splits up all files into smaller chunks so that they are still viable from the ISO9660 perspective.
I'm not sure how to resolve this, to be honest. We could add a "UDF-only" mode, but it's actually quite a lot of work and I've been stuck trying to do that for years now (see #19<#19>, for instance). Otherwise, in order to maintain compatibility with older ISO9660, we kind of have to keep doing this splitting.
I'm open to other ideas, but I can't think of how to fix this right now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#65 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAFVSDMXYYLEW2EWGUJOXVDTLC3MFANCNFSM43VFJBQQ>.
|
Joliet format didn't solve my issue after all. In joliet format is no longer splitting the ISO into multiple ISO files. However the files inside the ISO appear to be limited to 8GB. I tried modifying the following lines of the code above:
Now files are truncated (see below). How do I use this library to create an ISO that contains 20GB files? Is it possible? File lengths in ISO are truncated. File hashes don't match (for obvious reasons).
|
If anyone else finds that they need to create ISOs on Windows files larger than 8GB, here is the nasty, dirty, traitorous solution I came up with. If there is a way to do this with this or any other native python module I'd appreciate the heads up. https://github.com/MarkBaggett/pxpowershell Specifically the dir2iso function in https://github.com/MarkBaggett/pxpowershell/blob/main/pxpowershell/example_dir2iso.py |
Hello,
First, thank you Chris for this wonderful module. I am having trouble with the UDF ISO's breaking large files up into smaller ones. I imagine I am not enabling some feature to support large files or something like that but I am not sure what I am doing wrong.
I am running version 1.1
Here I have a directory with a large file in it..
Here is my code:
I execute that program and pass it the directory containing the 1 large zip file and here is the resulting iso:
I would appreciate your help.
The text was updated successfully, but these errors were encountered: