Andrius Štikonas
72b4142bcb
Fix infinite recursion in dummy backend.
...
BUG: 432704
2022-01-16 14:22:50 +00:00
Andrius Štikonas
68c8fecffd
Simplify code using K_PLUGIN_CLASS_WITH_JSON macro.
...
Also move kpmcore plugins into separate namespace.
2021-12-24 18:58:41 +00:00
Andrius Štikonas
be4d032f8b
REUSE: SPDX style license headers for src/plugins.
2020-09-30 23:58:54 +01:00
Andrius Štikonas
3df5acb9e3
Add scanDevices function that uses flags instead of bools.
...
Add and option to scan for loopback devices.
2019-02-09 15:40:06 +00:00
Andrius Štikonas
17c8772240
Explicitely specify the scope of enum.
2018-04-07 19:54:30 +01:00
Andrius Štikonas
1500eeb625
Use std::unique_ptr for CoreBackendDevices
2018-03-31 14:44:40 +01:00
Andrius Štikonas
ba4e443223
Move file system label and UUID read code to backends.
...
This allows to use different implementations on different platforms.
E.g. libblkid is not available on FreeBSD.
libparted backend still uses the same libblkid implementation
sfdisk backend reads label and UUID from udev database
2018-01-31 15:13:34 +00:00
Andrius Štikonas
41473119b1
backend: provide more information about backend device.
...
Pass Device object, not just deviceNode string when opening Core Backend Device
2017-12-06 21:33:31 +00:00
Chantara Tith
fcc8a7c992
Initial Device separation
2016-08-15 17:20:50 +01:00
Andrius Štikonas
b5d1529370
excludeReadOnly->excludeLoop.
2016-07-22 13:18:34 +01:00
Andrius Štikonas
d7f941af58
Silence a warning.
2016-05-06 22:42:01 +01:00
Andrius Štikonas
e0c23f443b
Update copyright.
2016-03-02 19:00:31 +00:00
Teo Mrnjavac
a683078b28
Allow excluding read-only devices from backend scan.
2015-07-23 16:42:09 +02:00
Teo Mrnjavac
de27f840bf
Always use nullptr instead of NULL because it is type-safe.
2015-07-22 15:48:03 +02:00
Andrius Štikonas
626f560e52
Format kpmcore code using KDE style.
2015-07-13 17:16:36 +03:00
Teo Mrnjavac
3bbce2865f
Revert "Format kpmcore code using KDE style."
...
This reverts commit 21b569e499
.
2015-07-13 16:03:36 +02:00
Andrius Štikonas
21b569e499
Format kpmcore code using KDE style.
2015-07-13 17:02:13 +03:00
Andrius Štikonas
1ef6fa8131
Move kpmcore library into its own repository.
2015-06-04 01:29:22 +01:00