Alexander Golubev
14573faf07
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 <fatzer2@gmail.com>
11 months ago
Michele Calgaro
f159fa61a9
tdehw lib: reworked device notifications to avoid repeated scanning of devices.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro
de4f27a2ee
tdehw lib: removed unused and seemingly unnecessary method in storage device.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro
a2edae37ac
tdehw lib: make the call to close the file explicit.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko
ac7e0fac53
Fix definitions of slot constants for old cryptsetup API.
...
This resolves issue #137 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro
07200a5475
tdehw lib: reworked code for eject operation to support return type TQStringVariantMap.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
7bdb6be95c
Added support for locking/unlocking of LUKS disks using pmount/pumount.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
9bc16841d1
Fixed mounting and unmounting of mapped storage devices.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
33794c4ec3
Fixed displaying of encrypted disks.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
fe08361f7e
Added udisks2 support for unlocking/locking of encrypted disks.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
b6953843f5
Added back build options for UDISKS2, UDISKS and UDEVIL as requested by
...
some users.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
11935291c7
Normalized names of devices to avoid unintentional mixed used of icons from different
...
icon themes.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
aaaf378033
Adjusted to use new TQStringVariantMap type.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
bf68342793
Reworked code for eject/mount/unmount operations to support new TDEStorageOpResult return type.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
7214a7b6b5
tdehw: code restructuring for tdestoragedevice.
...
1. added disk helper source files
2. removed WITH_UDISKS2, WITH_UDISK, WITH_UDEVIL defines. The respective code is always included
3. order of execution for mount/umount activities: udisks2, udisk, udevil, pmount.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
c76553c4fb
tdehw: TRUE/FALSE --> true/false renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
32566accda
tdehw: avoid crashing kded when using udisks/udisks2 to operate on
...
drives that contain dashes. This relates to issue #32 .
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
536cfddc84
Use new function TQT_DBusData::getAsVariantData() instead of local
...
version of it.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
706098c452
Fixed FTBFS caused by libcryptsetup 2.0
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko
ef7180dad9
Fix icon of mounted camera in tdehwlib
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko
ece75495e1
Add support for udevil to mount/unmount removable drives
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko
c10124c965
Fix using of custom mountpoints with pmount in tdehwlib
...
This partially resolves Bug 2576
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson
feaced1b3c
Add mount indicator to tdehwlib storage device icons
9 years ago
Timothy Pearson
d4b7e6e7da
Fix FTBFS when cryptsetup / pkcs options are disabled
...
This resolves Bug 2530
9 years ago
Timothy Pearson
b839144412
Fix yet another FTBFS due to libcryptsetup version problems
9 years ago
Timothy Pearson
3c9e39e214
Fix prior commit
9 years ago
Timothy Pearson
64fdd666ff
Add ability to decrypt multiple data objects in the same session using a cryptographic card
...
Add LUKS key verification routine
9 years ago
Timothy Pearson
ffa54887ce
Add additional cryptographic card functions to tdehwlib
...
Fix FTBFS on old distributions
9 years ago
Timothy Pearson
4238dc9cea
Fix FTBFS when ancient versions of cryptsetup are used
9 years ago
Timothy Pearson
897752b61a
Fix FTBFS when cryptsetup support disabled
9 years ago
Timothy Pearson
c867c64aa9
Add initial LUKS key management support
9 years ago
Timothy Pearson
86686421b5
Rename most device icons to comply with XDG standards
10 years ago
Timothy Pearson
3b57fe6816
Fix hardware control center crashes on device hot remove
...
Fix incorrect decoding of hex escaped device names
10 years ago
Timothy Pearson
bd7dd86450
Fix incorrect sizes being reported on raid devices
11 years ago
Timothy Pearson
142e058e79
Add detailedFriendlyName methods to the TDE hardware manager
...
This breaks the ABI and relates to Bug 1666
11 years ago
Timothy Pearson
a179d5d696
Fix crash in mount/umount operations when using pmount
...
Remove unneeded hack in dirlister for media device root directory
11 years ago
Timothy Pearson
6d8bcb6202
Use direct DBUS calls for udisks2
11 years ago
Timothy Pearson
39aba03a49
Use udisks DBUS calls instead of command line control utility
11 years ago
Slávek Banko
ef6c5d6fcb
Fix mount media without known filesystem in tdehw storage backend
...
This resolves Bug 1753
11 years ago
Slávek Banko
58852c67b5
Disable unallowed options for udisks/udisks2 in tdehw storage backend
11 years ago
Slávek Banko
8054860ca3
Use only available mechanisms to eject in the tdehw storage backend
11 years ago
Francois Andriot
990c3797c4
Add support for udisks and udisks2 to mount/unmount removable drives
...
This resolves Bug 1708
11 years ago
Slávek Banko
24b097d1d5
Fix handling path with UTF8 characters in tdehw storage backend
11 years ago
Timothy Pearson
9d76cb942d
Disable suspend/hibernate if $HOME is a network file system
...
This resolves Bug 1615
11 years ago
Alexander Golubev
b7ff6c3330
Merge branch 'master' into HEAD
...
Conflicts:
tdecore/CMakeLists.txt
tdecore/tdehardwaredevices.h
tdecore/tdehw/tdehardwaredevices.cpp
11 years ago
Golubev Alexander
e7708ec743
complete tdehardwaredevices split
11 years ago
Golubev Alexander
8bc5f3a294
moved first two classes of tdehw to their own files
11 years ago