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
6d82fc0964
Document new function variables.
2016-05-13 23:18:24 +01:00
Andrius Štikonas
c6c31dc5c0
Use long options for mount.
2016-05-13 23:13:22 +01:00
Andrius Štikonas
1dfe304fd2
Restore back functionality of unmounting all mount points.
2016-05-13 23:08:58 +01:00
Chantara Tith
b653b5b6e3
move mount logic from Partition to FileSystem
2016-05-13 23:00:27 +01:00
Chantara Tith
2a12571d44
move unmount logic from Partition to FileSystem
2016-05-13 23:00:27 +01:00
Andrius Štikonas
3bfb0b4b5b
Restore optimized luks::mapperName function.
...
It seems that crashes are not our fault but rather of frameworkintegration.
2016-05-13 00:58:00 +01:00
Andrius Štikonas
9b5c33696c
Show error message if shrinking innerFS inside luks fails.
2016-05-12 16:48:32 +01:00
Andrius Štikonas
7e8cfaf25c
Convert QRegExp->QRegularExpression in Partition class.
2016-05-12 16:46:25 +01:00
Andrius Štikonas
1ea4f4976d
Revert "Revert "Port away from QRegExp to QRegularExpression.""
...
This reverts commit c291af2c83
.
2016-05-12 16:45:13 +01:00
Andrius Štikonas
82243234e3
We no longer need to fill partition sizes. KPMCore now tracks max fs size (including inside luks).
2016-05-11 23:00:37 +01:00
Andrius Štikonas
c291af2c83
Revert "Port away from QRegExp to QRegularExpression."
...
This reverts commit bb2de6cd56
.
This was causing a crash when restoring partitions.
2016-05-11 22:31:33 +01:00
Andrius Štikonas
4fc3f321dd
Revert "Better to use deleteLater with QObjects."
...
This reverts commit 3ec80be2a1
.
This was causing a crash when changing filesystem (reformatting).
2016-05-11 22:17:38 +01:00
Andrius Štikonas
24ae2bf079
Do not allow restoring to the partition containing open luks volume.
2016-05-11 19:36:06 +01:00
Andrius Štikonas
513bbdac4c
Convert FS::luks static cmdSupport members to non-static.
2016-05-11 18:01:21 +01:00
Andrius Štikonas
7c137c36c6
Disable copying open luks volumes.
2016-05-11 15:19:51 +01:00
Andrius Štikonas
4aeea8b143
Remove accidentally committed debug code.
2016-05-11 14:58:06 +01:00
Andrius Štikonas
a7c9acd518
Move luks label handlingfrom libpartedbackend to FS::luks.
2016-05-11 11:53:15 +01:00
Andrius Štikonas
19f5ce0b28
Remove curly braces when generating a new LUKS UUID.
2016-05-11 02:16:24 +01:00
Burkhard Lück
ea69f4b8af
load translation catalog for thje library
2016-05-10 15:20:11 +02: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
785aa7edf4
Avoid piping LUKS passphrase.
...
Also remove piping support from ExternalCommand.
It's unlikely that it will be useful enough. There were no more users of this
after luks open was migrated to QProcess::write.
2016-05-09 00:42:01 +01:00
Andrius Štikonas
bb2de6cd56
Port away from QRegExp to QRegularExpression.
2016-05-08 00:22:22 +01:00
Andrius Štikonas
29c6578351
Fix nilfs reporting missing tools.
2016-05-08 00:21:22 +01:00
Andrius Štikonas
5c32921fcd
Make log message more user friendly.
2016-05-07 01:11:59 +01:00
Andrius Štikonas
7e7d9e2a9a
Use long style command line parameters.
2016-05-06 22:47:56 +01:00
Andrius Štikonas
d7f941af58
Silence a warning.
2016-05-06 22:42:01 +01:00
Andrius Štikonas
464b3060fb
Remove remaining ../ from #includes.
2016-05-06 22:36:24 +01:00
Andrius Štikonas
dc421db5c3
Move FS detection code back to backends.
2016-05-06 19:14:01 +01:00
Andrius Štikonas
befdf9d799
Update version and soversion.
2016-05-06 18:21:15 +01:00
Andrius Štikonas
0ec83e4e32
Merge branch 'luks-decorator'
2016-05-06 18:16:36 +01:00
Teo Mrnjavac
d584c70696
Passphrase accessor.
2016-05-06 16:50:23 +02:00
Andrius Štikonas
3ede101167
Fix a typo: mount->umount.
2016-05-06 14:34:40 +01:00
Teo Mrnjavac
6013b5887c
Always use outer UUID for mapper name.
2016-05-05 14:15:57 +02:00
Andrius Štikonas
0bd44b94dc
Use trimmed() instead of simplified().
2016-05-05 12:46:27 +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
Andrius Štikonas
27af037bb4
Use lsblk to determine mounted status.
2016-05-04 21:51:04 +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
a1026d20be
Use KPasswordDialog to open LUKS containers.
2016-05-01 14:17:06 +01:00
Andrius Štikonas
f1210d0aa7
Pass LUKS payload length to cryptsetup --size.
...
Before we were passing the length of the whole LUKS partition. After shrinking
LUKS partitions blkid would not recognize them.
2016-04-30 13:48:09 +01:00
Andrius Štikonas
a115961f04
Calculate the size of innerFS when growing LUKS volumes.
2016-04-29 20:25:14 +01:00
Andrius Štikonas
314742f40a
Use long options for cryptstup.
2016-04-29 19:49:06 +01:00
Andrius Štikonas
4ff7ada40b
Fix size vs sector number when resizing LUKS.
2016-04-29 18:12:34 +01:00
Andrius Štikonas
7cd1fd6eb7
Initial LUKS shrink support.
2016-04-29 17:56:39 +01:00
Andrius Štikonas
91c36c3d20
Adjust minCapacity for btrfs and luks. After all, it seems 40 MiB doesn't work.
2016-04-29 17:09:41 +01:00
Andrius Štikonas
47a1594705
Slightly improve setting used sectors.
2016-04-29 15:33:26 +01:00