Teo Mrnjavac
a749d1c84d
Handle parent change in Partition copy constructor.
2016-12-01 19:00:39 +01:00
Andrius Štikonas
2e960d5c00
Make initLUKS function non-static.
2016-11-30 17:18:51 +00:00
Andrius Štikonas
e0afdeb6cb
Move sorting comparison function to lambda.
2016-11-19 01:39:10 +00:00
Andrius Štikonas
6926046edb
Sort LVM LV volumes alphabetically.
2016-11-19 01:36:15 +00:00
Andrius Štikonas
3c58349561
Make sure KDiskFreeSpaceInfo is never used for swap.
2016-11-15 17:00:59 +00:00
Andrius Štikonas
a78e6f986e
Disable pasting into LVM VG. It does not yet work.
2016-11-10 14:52:02 +00:00
Andrius Štikonas
0c8035f667
Improve wording in comments a bit.
2016-11-10 14:37:48 +00:00
Andrius Štikonas
ee49c05d60
Remove ResizeVolumeGroup operation from operation stack if it has no jobs.
2016-11-07 18:56:26 +00:00
Andrius Štikonas
ca0def38f7
Add a comment.
2016-11-07 17:49:30 +00:00
Andrius Štikonas
4ed3ce6267
Check if fileSystem pointer is nullptr before trying to read used space
...
Hopefully it fixes the following crashes as well:
BUG: 364863
BUG: 365872
2016-11-07 17:45:22 +00:00
Andrius Štikonas
f948569fef
Pass --force to vgremove in order to allow removing deactivated volume groups.
2016-11-05 21:48:30 +00:00
Andrius Štikonas
e3214a1b48
Do not call KDiskFreeSpaceInfo::freeSpaceInfo without a non-empty mount point.
2016-11-05 20:29:31 +00:00
Andrius Štikonas
d6c375f959
Update copyrights.
2016-11-04 14:20:11 +00:00
Andrius Štikonas
5d2bb2f8af
Store list of physical volumes in a global variable.
2016-11-03 13:26:14 +00:00
Andrius Štikonas
36202cc1ad
Replace complicated QPair type with custom LvmPV class.
2016-11-02 23:06:55 +00:00
Andrius Štikonas
724574e436
Fix creation of LVM VGs when LVM PV is encrypted.
2016-10-30 03:24:01 +00:00
Andrius Štikonas
98d0ea309b
Fix include header: QDebug->QTextStream.
2016-10-30 02:37:48 +00:00
Andrius Štikonas
3272cd3f5f
Do not allow deactivating LUKS containers containing active LVM physical volumes.
2016-10-30 02:31:46 +00:00
Andrius Štikonas
28fa6ac5a4
Add support for GTP partition labels.
2016-09-24 22:15:15 +01:00
Andrius Štikonas
9c7db501bf
Use cached values for resizing volume groups.
2016-09-24 21:09:11 +01:00
Andrius Štikonas
23bf7585ed
Small typo in a comment.
2016-09-20 22:56:48 +01:00
Andrius Štikonas
5e4b16b7fe
Add a context to UI string.
2016-09-18 11:55:35 +01:00
Andrius Štikonas
28478ee0ad
More conversion from QStringList to QList<const Partition*>.
2016-09-18 01:53:42 +01:00
Andrius Štikonas
c41b008dc1
Remove obsolete note.
2016-09-17 01:23:04 +01:00
Chantara Tith
874900fe72
Move initLUKS from helpers to FS::luks.
2016-09-12 23:49:20 +07:00
Chantara Tith
bcd6156628
Reduce code duplication in handling mountPoint/mount/diskSpace.
2016-09-12 17:23:19 +07:00
Andrius Štikonas
123369f78b
Store the list of LVM Physical Volumes in operationStack.
...
This is necessary in order to make LVM LV formatted as LVM PV work.
2016-09-10 22:10:25 +01:00
Teo Mrnjavac
05e6ea82a3
Make copy constructor public.
2016-09-08 18:13:05 +02:00
Andrius Štikonas
70a9a0dd9a
More optimizations for LVM.
2016-09-08 01:42:04 +01:00
Teo Mrnjavac
882886c1d4
Copy constructor for PartitionTable.
2016-09-07 17:36:53 +02:00
Teo Mrnjavac
25b8cc0a42
core/smartattribute.h must be included in smartstatus.h for deep copy.
2016-09-07 17:36:20 +02:00
Teo Mrnjavac
ea9e079ee8
Add copy constructor to Device.
2016-09-07 17:35:35 +02:00
Andrius Štikonas
c480d80273
Make LvmDevice::LVPathList public.
2016-09-05 17:28:54 +01:00
Andrius Štikonas
5e5178b3af
Initial work on storing LVM variables during initial scan.
2016-09-05 14:48:36 +01:00
Andrius Štikonas
b3e82d7c75
Cache LUKS specific variables during initial scan.
2016-09-04 23:32:00 +01:00
Andrius Štikonas
68539ad97a
Remove some comments about data loss.
...
lvresize --force should not cause data loss when reducing because we reduce file system first.
vgextend --yes is about overwriting number of metadata copies, so it shouldn't cause data loss either.
2016-09-01 22:22:46 +01:00
Andrius Štikonas
cd4a6314e7
Simplify QStringList->QString conversion.
2016-09-01 22:05:35 +01:00
Andrius Štikonas
4889a0ef34
Remove some TODO comments.
2016-08-31 20:37:32 +01:00
Andrius Štikonas
56533022cb
Simplify if-return code a bit.
2016-08-31 20:14:21 +01:00
Andrius Štikonas
a1ebb5205b
Round used sectors up in lvm device scanner.
2016-08-29 13:03:26 +01:00
Andrius Štikonas
5ab60c6dfa
Enable used space reporting for swap.
...
BUG: 367473
2016-08-29 12:12:57 +01:00
Anthony Fieroni
ac16bd6185
[smart] SSD attribute names
...
REVIEW: 128710
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2016-08-21 07:44:31 +03:00
Chantara Tith
28dd42839d
More documentations.
2016-08-15 17:20:50 +01:00
Andrius Štikonas
3eda1d79c6
Make sure to activate all LVM LVs on start.
2016-08-15 17:20:50 +01:00
Chantara Tith
eb3910679c
Add all LVM devices to the bottom of the devices list.
2016-08-15 17:20:50 +01:00
Andrius Štikonas
8a3c11774c
Make variable names slightly more consistent thruoght kmpcore.
...
Add more doxygen comments.
2016-08-15 17:20:50 +01:00
Chantara Tith
426a9385cd
Remove unused includes.
2016-08-15 17:20:50 +01:00
Chantara Tith
69536b1129
Remove unused parameters from LvmDevice.
2016-08-15 17:20:50 +01:00
Chantara Tith
6fd0c7a0db
API changes, Refactor and Raname to a consistant interface.
2016-08-15 17:20:50 +01:00
Andrius Štikonas
40ff0861a8
Convert most of the remaining foreach cases.
2016-08-15 17:20:50 +01:00