mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-18 17:14:41 -04:00
[core] avoid the use of FILE_SHARE_WRITE
* Not having FILE_SHARE_WRITE on a disk or volume handle helps prevent spurious accesses from the OS or other apps while we are repartitioning/refomatting.
This commit is contained in:
parent
c877284d2a
commit
2f81e4f177
11 changed files with 50 additions and 31 deletions
|
@ -50,7 +50,7 @@
|
|||
#define POP_DIRECTIONAL_FORMATTING ""
|
||||
#define RIGHT_TO_LEFT_OVERRIDE ""
|
||||
#define DRIVE_ACCESS_TIMEOUT 15000 // How long we should retry drive access (in ms)
|
||||
#define DRIVE_ACCESS_RETRIES 60 // How many times we should retry
|
||||
#define DRIVE_ACCESS_RETRIES 150 // How many times we should retry
|
||||
#define DRIVE_INDEX_MIN 0x00000080
|
||||
#define DRIVE_INDEX_MAX 0x000000C0
|
||||
#define MIN_DRIVE_SIZE 8 // Minimum size a drive must have, to be formattable (in MB)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue