[misc] warn about UDF formatting times and 64k MS-DOS

* Closes #149
* Closes #180
This commit is contained in:
Pete Batard 2013-10-31 22:59:53 +00:00
parent 7d2519675c
commit 59496e53c0
7 changed files with 89 additions and 14 deletions

View file

@ -53,6 +53,8 @@
#define FS_DEFAULT FS_FAT32
#define BADBLOCK_PATTERNS {0xaa, 0x55, 0xff, 0x00}
#define LARGE_FAT32_SIZE (32*1073741824LL) // Size at which we need to use fat32format
#define UDF_FORMAT_SPEED 3.1f // Speed estimate at which we expect UDF drives to be formatted (GB/s)
#define UDF_FORMAT_WARN 20 // Duration (in seconds) above which we warn about long UDF formatting times
#define MAX_FAT32_SIZE 2.0f // Threshold above which we disable FAT32 formatting (in TB)
#define WHITE RGB(255,255,255)
#define SEPARATOR_GREY RGB(223,223,223)