mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Clarify about the space holder for Windows
In Windows we keep 256 MB to avoid warnings.
This commit is contained in:
parent
13aaa949a2
commit
85df40f40d
5 changed files with 18 additions and 24 deletions
|
|
@ -369,6 +369,7 @@ static int parity_handle_fill(struct snapraid_split_handle* split, data_off_t si
|
|||
return -1;
|
||||
}
|
||||
|
||||
/* note that in Windows ftruncate is really allocating space */
|
||||
if (ftruncate(spaceholder_f, spaceholder_size) != 0) {
|
||||
log_fatal("WARNING Failed to resize the space holder file '%s' to %llu bytes.\n", spaceholder_path, spaceholder_size);
|
||||
log_fatal("Assuming that no more space is available.\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue