[monero-project/monero] is_hdd update for windows and linux (#4278)

Add is_hdd_sysfs(), is_hdd_win_ioctl(), fl2lv(), lv2pv(),
win_device_has_seek_penalny()
Add tests test_a.is_hdd*
Modify is_hdd()
Added bcrypt, sodium

Contributed by crCr62U0_ who does not have nor want a github account.
You can view, comment on, or merge this pull request online at:

https://github.com/monero-project/monero/pull/4278

— Commit Summary —

* Update

— File Changes —

M CMakeLists.txt (4)
M src/common/util.cpp (260)
M src/common/util.h (2)
M src/crypto/CMakeLists.txt (1)
M tests/unit_tests/CMakeLists.txt (1)
M tests/unit_tests/ringdb.cpp (2)
A tests/unit_tests/test_a.cpp (30)

— Patch Links —

https://github.com/monero-project/monero/pull/4278.patch
https://github.com/monero-project/monero/pull/4278.diff

Добавить комментарий