Andrius Štikonas
f426f59799
Use QFile for writing data in ExternalCommandHelper::writeData
...
dd works much slower when writing to files, especially files on SSD.
Thanks to Huzaifa Faruqui for suggestion.
2018-02-03 15:58:36 +00:00
Andrius Štikonas
5c307c1cc7
Use toLongLong in KAuth helper.
...
Otherwise all integers simply overflow.
2018-02-02 18:33:35 +00:00
Andrius Štikonas
4870587339
Set sfdisk backend as default.
2018-01-31 18:50:49 +00:00
Andrius Štikonas
7e60df68bd
Do not expose libparted backend on non Linux systems.
2018-01-31 17:08:05 +00:00
Andrius Štikonas
f2b7f2bd9b
Use const char* instead of QString in Fstab::findBlkIdDevice
...
Thansk to: Adriaan de Groot
2018-01-31 17:02:59 +00:00
Andrius Štikonas
f98dbcc208
Only use libblkid on Linux.
2018-01-31 16:58:00 +00:00
Andrius Štikonas
838150d439
Do not use blkid cache.
2018-01-31 16:53:34 +00:00
Andrius Štikonas
c50006ed22
Fix #include issues in smart code.
...
CC: caiojcarvalho@gmail.com
2018-01-31 16:12:11 +00:00
Andrius Štikonas
56de5e1e06
Merge branch 'master' into kauth
2018-01-31 16:03:58 +00:00
Andrius Štikonas
67f79f42dd
Add cmake option for sfdisk backend.
2018-01-31 16:03:51 +00:00
Andrius Štikonas
9ea7cab92a
Merge branch 'master' into kauth
2018-01-31 15:15:25 +00: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
7e8f64ffd7
Fix a possibly uninitialized variable.
2018-01-31 14:58:43 +00:00
Andrius Štikonas
2534608094
Use btrfs check --repair instead of btrfsck.
2018-01-29 13:30:14 +00:00
Andrius Štikonas
3a6aa4aaa0
Do not link to libatasmart.
2018-01-29 12:49:25 +00:00
Huzaifa Faruqui
b143c139e5
Fix Report in copyBlocks
2018-01-29 16:45:21 +05:30
Andrius Štikonas
dd709fc8a9
Remove unnecessary extra LIBKPMCORE_EXPORT macros.
2018-01-27 13:15:19 +00:00
Andrius Štikonas
bf2a23dada
Use copyjobs KAuth helper for other copying jobs too.
2018-01-24 15:45:19 +00:00
Andrius Štikonas
61fed73a5d
Remove some debug output.
2018-01-24 15:35:11 +00:00
Huzaifa Faruqui
e42a5c9289
Implement copyblocks function in KAuth helper.
...
Switch BackupFileSystemJob to thenew copyblocks function.
Reviewed and cleaned up by: Andrius Štikonas
2018-01-24 15:22:42 +00:00
Andrius Štikonas
4eff7d7594
Do not export CoreBackendDevice and CoreBackendPartitionTable classes.
2018-01-21 13:53:07 +00:00
Caio Carvalho
a3d43e159f
Removing LIBKPMCORE_EXPORT from SmartParser and adding SMART support dependencies to testsmart in cmake
2018-01-21 01:41:59 -03:00
Caio Carvalho
49c0c39f4b
- Including SMART support test
...
- Adding export macro to SmartParser
2018-01-20 21:56:10 -03:00
Andrius Štikonas
b5303587e2
Update INSTALL instructions.
...
* bzip2->xz.
* Remove libatasmart.
2018-01-16 15:33:09 +01:00
l10n daemon script
098b9bc2ae
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"
2018-01-14 04:49:26 +01:00
l10n daemon script
85085d8eb7
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"
2018-01-13 04:47:56 +01:00
Andrius Štikonas
d2ee0010d0
Update credits.
2018-01-12 11:32:09 +01:00
Andrius Štikonas
1c024c6b29
Fix a typo in the comment.
2018-01-11 21:59:18 +01:00
Caio Carvalho
0190d32cf6
Including doxygen comments to the new SMART support classes
2018-01-11 17:38:53 -03:00
Andrius Štikonas
a135c86ba1
Use QStringLiteral instead of QString::fromLocal8Bit
2018-01-11 14:17:55 +01:00
Andrius Štikonas
ed7c5b1c77
Use long command line option for smartctl.
2018-01-11 12:00:52 +01:00
Andrius Štikonas
4069e5112e
Post merge fixes.
...
In kauth branch ExternalCommand::write should be called before start.
2018-01-11 11:45:39 +01:00
Andrius Štikonas
790553aa0b
Merge branch 'smart' into kauth
2018-01-11 11:31:18 +01:00
Caio Carvalho
44fae61d4f
- Removing libatasmart dependency from CMakeLists.txt
...
- Changing getQuirk regular expression evaluation to use QRegularExpression instead of QRegExp
2018-01-09 19:34:20 -03:00
Caio Carvalho
d71731141c
- Changed m_Quirk variable in SmartAttributeParsedData to SmartQuirk value instead of reference
...
- Changed smartctl call to use ExternalCommand class instead of QProcess
- Changed Q_FOREACH to C++11 ranged based for
- Changed quint64 json parsing
2018-01-09 01:35:59 -03:00
Caio Carvalho
8177fb9738
Adding smart JSON output support
2018-01-08 17:59:48 -03:00
l10n daemon script
5376808159
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"
2018-01-07 04:56:23 +01:00
l10n daemon script
ba3676e165
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"
2018-01-04 04:49:48 +01:00
Pali Rohár
2f4aeaf851
Add support for reading capacity and changing label/uuid on UDF filesystem
2018-01-03 20:09:53 +02:00
Andrius Štikonas
8b9451c8d7
We don't need keyLocation for luks1 file system it is always dm-crypt.
2017-12-29 22:53:02 +00:00
Andrius Štikonas
1802b7ad05
Add luks2::create method.
2017-12-29 20:38:36 +00:00
Andrius Štikonas
4773f49edc
Initial support for resizing LUKS2 volumes.
...
Does not yet work when LUKS2 is used with dm-integrity.
2017-12-29 20:01:06 +00:00
Andrius Štikonas
78a9ede36c
Do not install internal backend headers.
2017-12-27 16:16:11 +00:00
Andrius Štikonas
a6a69b1e31
Merge branch 'sfdisk' into kauth
2017-12-25 00:13:18 +00:00
Andrius Štikonas
590b531863
Commit partition table when closing Sfdisk backend device.
2017-12-25 00:11:13 +00:00
Andrius Štikonas
41570fde5d
Set FAT12 MBR/GPT partition type.
2017-12-24 23:56:03 +00:00
Andrius Štikonas
f20bea9bf8
Merge branch 'sfdisk' into kauth
2017-12-24 23:40:06 +00:00
Andrius Štikonas
97ccd8d154
Merge branch 'master' into sfdisk
2017-12-24 23:38:39 +00:00
Andrius Štikonas
5123411f1f
Add support for FAT12 file system.
2017-12-24 23:24:37 +00:00
Andrius Štikonas
8de54d390e
Make default LUKS2 colour different from LUKS.
2017-12-24 20:38:46 +00:00