Skip to content
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

Control the threshold for Large Fat Error - currently, unfortunately, hardcoded #11

Open
thoth291 opened this issue Mar 19, 2021 · 0 comments

Comments

@thoth291
Copy link

Hi,

At the line

if len(self._master_fat) * self._normal_sector_size > 100*1024*1024:

the size of the MasterFat is said to be suspicious if it's higher than 100M.

In my case, since the file is bigger than 100GB - the total size is something like 27731*4096 ~ 108MB - so I was wondering if there is any way to turn this constrain into variable which can be overwritten in the user's application.

I had to monkey-patch the code to make it work, which is error prone and not sustainable at all.

Thanks in Advance!

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

No branches or pull requests

1 participant