[frameworks-solid] [Bug 467751] Unmounting certain SD cards can triggers an immediate remount when using "automount on attach" setting

David Edmundson bugzilla_noreply at kde.org
Wed Jun 21 11:48:37 BST 2023


https://bugs.kde.org/show_bug.cgi?id=467751

--- Comment #12 from David Edmundson <kde at davidedmundson.co.uk> ---
Git commit 41eaa14d3375e303e68e0d2f39090f5ed4f48c82 by David Edmundson.
Committed on 21/06/2023 at 10:45.
Pushed by davidedmundson into branch 'master'.

Expose StorageDevice timeDetected/timeMediaDetected

For automounting purposes it's useful to know when a drive appeared in
relation to when StorageVolumes appear.

Rather than adding tracking in front-end code we can make use of udisk's
existing information.

M  +10   -0    src/solid/devices/backends/fakehw/fakestorage.cpp
M  +3    -0    src/solid/devices/backends/fakehw/fakestorage.h
M  +20   -0    src/solid/devices/backends/udisks2/udisksstoragedrive.cpp
M  +3    -0    src/solid/devices/backends/udisks2/udisksstoragedrive.h
M  +12   -0    src/solid/devices/frontend/storagedrive.cpp
M  +21   -0    src/solid/devices/frontend/storagedrive.h
M  +10   -0    src/solid/devices/ifaces/storagedrive.cpp
M  +12   -0    src/solid/devices/ifaces/storagedrive.h

https://invent.kde.org/frameworks/solid/-/commit/41eaa14d3375e303e68e0d2f39090f5ed4f48c82

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list