diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-05-27 20:34:18 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2017-05-28 00:04:30 +0200 |
commit | bc8e6fa5bd9e8db028fd15f63e681a86059ef933 (patch) | |
tree | 59d0b74aa2a5089678eab1c31c138572d943e352 /src/Common/Volumes.h | |
parent | 0e2c129854ac0e57cb8970c9145ae689bc4c7714 (diff) | |
download | VeraCrypt-bc8e6fa5bd9e8db028fd15f63e681a86059ef933.tar.gz VeraCrypt-bc8e6fa5bd9e8db028fd15f63e681a86059ef933.zip |
Windows: add support for ReFS on Windows 10 when creating normal volumes.
Diffstat (limited to 'src/Common/Volumes.h')
-rw-r--r-- | src/Common/Volumes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/Volumes.h b/src/Common/Volumes.h index 3fe3a450..710ccc45 100644 --- a/src/Common/Volumes.h +++ b/src/Common/Volumes.h @@ -77,6 +77,8 @@ extern "C" { #define TC_MAX_FAT_CLUSTER_SIZE (256 * BYTES_PER_KB) // Windows XP/Vista may crash when writing to a filesystem using clusters larger than 256 KB #define TC_MIN_EXFAT_FS_SIZE (42 * TC_MAX_VOLUME_SECTOR_SIZE) #define TC_MAX_EXFAT_FS_SIZE (128LL * BYTES_PER_PB) +#define TC_MIN_REFS_FS_SIZE (641 * BYTES_PER_MB) // minimal allowed volume size with 4KiB clusters. Determined empirically. +#define TC_MAX_REFS_FS_SIZE (0xFFFFFFFFFFFFFFFFULL) // real limit is 1 Yobibyte but it's too large for 64-bit integer // Volume size limits #define TC_MIN_VOLUME_SIZE (TC_TOTAL_VOLUME_HEADERS_SIZE + TC_MIN_FAT_FS_SIZE) |