reactos/base
Hermès Bélusca-Maïto f527e23aa7
[SETUPLIB] Lock the BTRFS volume before installing the new bootsector code.
CORE-15334 CORE-15339

The BTRFS driver requires the volume to be locked in order to modify
the first sectors of the partition, even though they are outside the
file-system space / in the reserved area (they are situated before
the super-block at 0x1000) and is in principle allowed by the NT
storage stack.
So we lock here in order to write the bootsector at sector 0.
If locking fails, we ignore and continue nonetheless.

See also the following links for reference:
https://stackoverflow.com/a/12928934
https://docs.microsoft.com/en-us/windows/desktop/api/fileapi/nf-fileapi-writefile
https://support.microsoft.com/en-us/help/942448/changes-to-the-file-system-and-to-the-storage-stack-to-restrict-direct
2018-11-11 21:55:48 +01:00
..
applications [FLTMC] Add volumes usage info 2018-11-11 18:05:47 +00:00
services [SCHEDSVC] Start jobs on timeout 2018-11-05 00:24:16 +01:00
setup [SETUPLIB] Lock the BTRFS volume before installing the new bootsector code. 2018-11-11 21:55:48 +01:00
shell [USETUP][EXPLORER] ReactOS explorer translation and hindi font substitution. (#954) 2018-10-19 17:03:17 +02:00
system [TRANSLATION] Turkish translations of many components. (#1026) 2018-11-11 18:13:48 +01:00
CMakeLists.txt