mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-05 11:28:49 +02:00
util: detect and warn when using exFAT on macOS
exFAT is known to cause corruption on macOS. See #28552. Therefore we should warn when using this fs format for either the blocks or data directories on macOS. Co-authored-by: l0rinc <pap.lorinc@gmail.com>
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
|
||||
- [Installed Files](#installed-files)
|
||||
|
||||
- [Filesystem recommendations](#filesystem-recommendations)
|
||||
|
||||
## Data directory location
|
||||
|
||||
The data directory is the default location where the Bitcoin Core files are stored.
|
||||
@@ -160,3 +162,8 @@ This table describes the files installed by Bitcoin Core across different platfo
|
||||
- *Italicized* files are only installed in source builds if relevant CMake options are enabled. They are not included in binary releases.
|
||||
- README and bitcoin.conf files are included in binary releases but not installed in source builds.
|
||||
- On Windows, binaries have a `.exe` suffix (e.g., `bitcoin-cli.exe`).
|
||||
|
||||
## Filesystem recommendations
|
||||
|
||||
When choosing a filesystem for the data directory (`datadir`) or blocks directory (`blocksdir`) on **macOS**,the `exFAT` filesystem should be avoided.
|
||||
There have been multiple reports of database corruption and data loss when using this filesystem with Bitcoin Core, see [Issue #31454](https://github.com/bitcoin/bitcoin/issues/31454) for more details.
|
||||
|
||||
Reference in New Issue
Block a user