Skip to content

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

Description

@thoth291

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions