Andrius Štikonas
78df451ea0
Add forgotten file.
2016-07-24 10:08:05 +01:00
Andrius Štikonas
2e9166d2d4
Improve comment of major device numbers.
...
Exclude read-only block devices.
2016-07-23 22:01:38 +01:00
Andrius Štikonas
c8e9c72d88
Look for more type of block devices.
2016-07-22 15:53:15 +01:00
Andrius Štikonas
b5d1529370
excludeReadOnly->excludeLoop.
2016-07-22 13:18:34 +01:00
Andrius Štikonas
4a0b8f8efb
Use lsblk to detect devices.
2016-07-22 12:56:59 +01:00
Andrius Štikonas
e64a82ff19
Use KAuth to get privileges needed for detecting partitions.
2016-07-22 12:00:01 +01:00
Andrius Štikonas
3a2b78e143
Improve semantic markup of translations.
2016-07-17 23:41:00 +01:00
Andrius Štikonas
5e982b5b1e
Fix memory leaks.
2016-06-02 13:46:16 +01:00
Andrius Štikonas
b4a13599aa
Libpartedbackend can also use KDiskFreeSpaceInfo for mounted luks partitions.
2016-05-22 00:52:07 +01:00
Andrius Štikonas
35a4798672
Add some support to get used space info for mounted LUKS partitions using KDiskFreeSpaceInfo.
2016-05-22 00:48:55 +01:00
Andrius Štikonas
12bc2329a2
Used space is larger for luks volumes due to payload.
2016-05-20 19:17:52 +01:00
Andrius Štikonas
8d178a2a86
Update doxygen variable.
2016-05-18 19:35:37 +01:00
Andrius Štikonas
a610e24686
Move luks init code to constructor.
2016-05-17 19:05:17 +01:00
Andrius Štikonas
142ff07938
Remove reduntant virtual keywords.
2016-05-17 18:01:31 +01:00
Teo Mrnjavac
677bae18e5
Unbreak build fix.
2016-05-16 15:57:27 +02:00
Teo Mrnjavac
9d6438f0af
Fix build on clang.
2016-05-16 15:54:29 +02:00
Andrius Štikonas
513bbdac4c
Convert FS::luks static cmdSupport members to non-static.
2016-05-11 18:01:21 +01:00
Andrius Štikonas
a7c9acd518
Move luks label handlingfrom libpartedbackend to FS::luks.
2016-05-11 11:53:15 +01:00
Andrius Štikonas
0031f84315
Do not allow setting LUKS labels when crypt is closed.
2016-05-10 02:20:37 +01:00
Andrius Štikonas
64b0cf4c77
Unbreak non ASCII passphrases.
2016-05-09 11:07:31 +01:00
Andrius Štikonas
dc421db5c3
Move FS detection code back to backends.
2016-05-06 19:14:01 +01:00
Andrius Štikonas
0ec83e4e32
Merge branch 'luks-decorator'
2016-05-06 18:16:36 +01:00
Andrius Štikonas
57e0b03438
Remove unused parameter.
2016-05-04 23:02:20 +01:00
Andrius Štikonas
440aa74dcf
List .cpp files for cmake instead of globbing them.
2016-05-04 22:14:38 +01:00
Teo Mrnjavac
1cb464c6b0
Use the detected FS type directly.
2016-05-04 18:27:59 +02:00
Andrius Štikonas
d7413b7708
Remove workaround for ancient parted 2.1.
2016-05-01 14:32:00 +01:00
Andrius Štikonas
47a1594705
Slightly improve setting used sectors.
2016-04-29 15:33:26 +01:00
Andrius Štikonas
e2f21360bb
Add support for reading used capacity of innerFS.
...
Also make sure labels, used capacity and UUID are properly updated when
opening or closing luks volumes."
2016-04-29 14:27:01 +01:00
Andrius Štikonas
ea4b945ebb
Add override keyword to virtual functions.
2016-04-27 21:54:02 +01:00
Andrius Štikonas
1ee315303c
Do not use QStringLiteral for empty strings.
2016-04-26 13:53:25 +01:00
Andrius Štikonas
2e7055aa69
Merge branch 'master' into luks-decorator
2016-04-21 23:03:28 +01:00
Andrius Štikonas
e48abb1794
Set libparted name for Reiser4 to be reiserfs.
...
libparted does not support reiser4 filesystems, so formatting returned an error.
2016-04-20 16:03:10 +01:00
Andrius Štikonas
1ee17c38e3
Clobber first 129 sectors of partition when deleting it.
2016-04-20 15:07:21 +01:00
Teo Mrnjavac
26026b6232
PartitionRole::LUKS is now PartitionRole::Luks.
2016-04-19 16:46:18 +02:00
Andrius Štikonas
58e9876307
Rename qglobal.h to QtGlobal
2016-04-18 17:14:31 +01:00
Teo Mrnjavac
4c8b531bf4
Set the LUKS role if LUKS detected.
2016-04-15 15:11:51 +02:00
Teo Mrnjavac
9970fb7b1d
Make sure to create the inner fs when detecting.
2016-04-13 18:32:21 +02:00
Teo Mrnjavac
49cde487cc
Check if the mapper node is mounted.
2016-04-06 18:13:18 +02:00
Teo Mrnjavac
0a8a5887df
Bring back LUKS code which was previously merged+reverted.
...
Revert "Revert merge of branch luks-decorator."
This reverts commit efd3179d95
.
Messages:
FS::luks is now a decorator for an actual FS composed inside.
Implement cryptOpen/cryptClose/mount/unmount operations.
detectFileSystem, which only uses blkid, is now in FileSystem.cpp.
FileSystem::mount now requires a mountPoint.
Use umount -A to immediately umount all mount points in unmountCmds.
Add override keywords, TODO: add them everywhere.
LibPartedBackend no longer links against libblkid.
Fix LUKS handling in LibPartedBackend::scanDevicePartitions.
Allow detecting FS::Type by path, and remove libparted workaround.
FS detection now only uses blkid (from util-linux).
2016-03-31 18:43:38 +02:00
Teo Mrnjavac
ccf1880efa
Do not filter out PED_DEVICE_UNKNOWN devices as if they were read-only.
...
This is necessary because libparted still reports NVME devices as
PED_DEVICE_UNKNOWN.
2016-03-15 18:06:30 +01:00
Andrius Štikonas
ca5bc8000b
Merge branch 'more-parted-flags'
2016-03-08 20:48:09 +00:00
Andrius Štikonas
e0c23f443b
Update copyright.
2016-03-02 19:00:31 +00:00
Teo Mrnjavac
852c8c8516
Bring partition flags support up to current libparted level.
...
This doesn't quite support all the types listed by fdisk as described
in bug 359819 since we are limited by what's exposed by libparted, but
it covers the most important ones.
BUG: 359819
2016-03-02 11:43:27 +01:00
Andrius Štikonas
dc75c7a11f
Add basic support for F2FS.
2016-02-25 23:29:33 +00:00
Andrius Štikonas
227c77e801
Do not report free space for swap partitions.
...
Swap partitions have no mount path so KDiskFreeSpaceInfo shows
total free disk space available.
BUG:357363
2016-02-21 19:22:35 +00:00
Andrius Štikonas
58013d54fe
Never force installation in the system prefix when it's not needed
2016-01-31 14:45:34 +00:00
Andrius Štikonas
b2aa3176ba
Remove parted workaround.
...
FS detection now only uses blkid (from util-linux).
Bump minimum blkid (and therefore util-linux) version to 2.23.
2016-01-25 15:42:20 +00:00
Andrius Štikonas
efd3179d95
Revert merge of branch luks-decorator.
2015-09-16 14:18:13 +01:00
Teo Mrnjavac
d8494a00a5
FS::luks is now a decorator for an actual FS composed inside.
...
Implement cryptOpen/cryptClose/mount/unmount operations.
detectFileSystem, which only uses blkid, is now in FileSystem.cpp.
FileSystem::mount now requires a mountPoint.
Use umount -A to immediately umount all mount points in unmountCmds.
Add override keywords, TODO: add them everywhere.
LibPartedBackend no longer links against libblkid.
Fix LUKS handling in LibPartedBackend::scanDevicePartitions.
2015-08-14 17:53:06 +02:00
Teo Mrnjavac
166728b820
Allow detecting FS::Type by path, and remove libparted workaround.
...
FS detection now only uses blkid (from util-linux).
2015-08-13 14:25:13 +02: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
Teo Mrnjavac
c4bb654916
Do not dereference before null check.
2015-07-22 15:36:55 +02:00
Teo Mrnjavac
e69c679fd9
Cast to quint64 early enough to not lose precision.
2015-07-22 15:28:47 +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
l10n daemon script
ce3faee105
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-12 10:26:58 +00:00
l10n daemon script
c0b4df13ae
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-09 14:09:02 +00:00
l10n daemon script
fd7a7bd947
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-07 04:13:54 +00:00
l10n daemon script
55c21cf142
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-06 04:26:29 +00:00
l10n daemon script
80dc2e97b8
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-05 04:19:09 +00:00
Andrius Štikonas
1ef6fa8131
Move kpmcore library into its own repository.
2015-06-04 01:29:22 +01:00