diff options
author | Alexander Golubev <[email protected]> | 2023-12-19 21:20:24 +0300 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-28 10:32:59 +0900 |
commit | dff837200eae3d2fdd7fbf8f39fbe41d5ecb2d8d (patch) | |
tree | b2a9f827a3c6ee7a2ef3fb87549cd159f38b1dc6 /tdeio/tdefile/tdefiledialog.h | |
parent | 2a3a62bb995b73481a8a64658266adf22e523f7b (diff) | |
download | tdelibs-dff837200eae3d2fdd7fbf8f39fbe41d5ecb2d8d.tar.gz tdelibs-dff837200eae3d2fdd7fbf8f39fbe41d5ecb2d8d.zip |
Fix lvm volumes appearing as removable devices
- remove obsolete/erroneous code meddling with
GENHD_FL_MEDIA_CHANGE_NOTIFY
- use /sys/block/<dev>/removable rather than
/sys/block/<dev>/capabilities
- deprecate TDEDiskDeviceStatus::Hotpluggable and use
TDEDiskDeviceStatus::Removable for all removable devices
- put some local utility function into anonymous namespace
See https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/148
Signed-off-by: Alexander Golubev <[email protected]>
(cherry picked from commit 14573faf07515b472f86dff585bd8a14fa1f25d7)
Diffstat (limited to 'tdeio/tdefile/tdefiledialog.h')
0 files changed, 0 insertions, 0 deletions