reactos/base/setup
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
..
lib [SETUPLIB] Lock the BTRFS volume before installing the new bootsector code. 2018-11-11 21:55:48 +01:00
reactos [TRANSLATION] Update Simplified Chinese translation. (#1028) 2018-11-11 17:57:12 +01:00
setup [SYSSETUP] Don't load ISOLATIONAWARE_MANIFEST_RESOURCE_ID manually 2018-02-07 01:15:49 +02:00
usetup [TRANSLATION] Polish translation update (#1029) 2018-11-11 17:55:01 +01:00
welcome [TRANSLATION] Update Simplified Chinese translation. (#1028) 2018-11-11 17:57:12 +01:00
CMakeLists.txt [REACTOS] Don't include another module's PCH aka fix build. 2018-11-02 11:14:09 +01:00