Andrius Štikonas
559c326be7
Add detection support for Apple File System (APFS).
2019-01-13 17:34:05 +00:00
Andrius Štikonas
708318a5ad
Add BitLocker detection support.
...
CCBUG: 392892
2019-01-13 02:24:18 +00:00
Andrius Štikonas
9fa20fb1e2
Remove "mv" command from allowed external command list
2019-01-12 23:18:01 +00:00
l10n daemon script
77add45499
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"
2019-01-12 05:28:24 +01:00
Andrius Štikonas
055b1fe3e5
Make device model names prettier.
2019-01-12 00:24:26 +00:00
Andrius Štikonas
e5a20926cd
Fix device names spanning two lines.
2019-01-11 23:28:40 +00:00
l10n daemon script
66ded3229d
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"
2019-01-01 05:26:53 +01:00
l10n daemon script
8d980b56ed
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-12-19 05:44:22 +01:00
Andrius Štikonas
d4f3ac62ae
Use drive-removable-media-usb icon for USB devices.
2018-12-06 01:23:27 +00:00
Caio Carvalho
0e4fca8de6
Getting lsblk kname in the cases where the model name isn't available
...
Summary:
lsblk command does not return model name as output in some specific cases, specially when you have a micro SD in your computer (perhaps it should happen with a normal SD card as well, but I haven't tested it).
So I included a verification in SfdiskBackend::scanDevice to check for kname in lsblk and use it as the name in these cases.
Reviewers: stikonas
Reviewed By: stikonas
Tags: #kde_partition_manager
Differential Revision: https://phabricator.kde.org/D16577
2018-11-24 21:46:34 -03:00
Andrius Štikonas
2007f2b8ea
Allow copyblocks to be used together with small QByteArrays.
...
Add CopyTargetByteArray. CopySourceByteArray is not implemented yet.
This is only suitable for reading small amount of data such as GPT header
or FAT boot sector location. Not meant for copying whole partition because
data has to be transfered over DBus.
Differential Revision: https://phabricator.kde.org/D16487
2018-10-29 00:02:12 +00:00
l10n daemon script
9ca63ab501
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-10-24 05:56:19 +02:00
Andrius Štikonas
4080eef0ba
Set FlagBoot = FlagEsp and deprecate it.
2018-09-01 21:27:05 +01:00
Andrius Štikonas
046f17fa68
sfdisk: Make FlagEsp alias for FlagBoot
2018-09-01 18:40:10 +01:00
Andrius Štikonas
ee8ee70df9
Use Separate output and error channels for sfdisk --json.
...
Without this, error output would make json invalid.
2018-08-22 00:30:13 +01:00
l10n daemon script
cbaf62427f
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-08-18 05:42:22 +02:00
l10n daemon script
c9258f74c0
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-08-05 05:29:30 +02:00
l10n daemon script
67e943713b
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-08-03 05:37:12 +02:00
l10n daemon script
0201171956
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-07-31 05:43:22 +02:00
Andrius Štikonas
4b022c33f0
Rename "Disk Device" to Device in a user visible string.
...
kpmcore's enum DiskDevice is not what end user might think is Disk.
E.g. USB flash drive would also be Disk Device for kpmcore purposes.
2018-07-30 19:15:09 +01:00
Andrius Štikonas
24d9d1bd73
Merge branch 'kauth'
2018-07-25 09:37:52 +00:00
Caio Carvalho
8b28001ae2
Pausing udev events during commit of RAID partition tables to map its logical partitions.
2018-07-24 03:12:02 -03:00
Andrius Štikonas
700dddb875
Do not reassemble RAID devices after partition table commit.
...
Reassembling RAID devices causes devices to disappear and
reappear with a different name.
2018-07-23 22:54:11 +01:00
Andrius Štikonas
75bfd09c9c
Fix detection of NTFS partitions
...
BUG: 396749
2018-07-22 12:42:10 +01:00
Andrius Štikonas
2579d04229
Remove ExternalCommand::waitFor.
...
This is no longer used with KAuth.
ExternalCommand::start now waits until command finishes.
2018-07-21 21:19:34 +01:00
Andrius Štikonas
c50e04c9d1
Use cryptographic nonce instead of counters.
2018-07-20 21:12:13 +01:00
Andrius Štikonas
985b353146
Use QString::back().
2018-07-18 23:23:34 +01:00
Caio Carvalho
c1e393240b
Using QFile instead of calling ExternalCommand to read /proc/mdstat and mdadm.conf files.
2018-07-15 19:38:33 -03:00
Caio Carvalho
2298d08c41
Adding support for detecting linux_raid_member file system.
2018-07-15 17:38:43 -03:00
Caio Carvalho
f3fac7eac7
Add SoftwareRAID::Status enum.
...
Check for RAID before modelCommand in SfdiskBackend::scanDevice.
2018-07-15 13:11:50 -03:00
Caio Carvalho
dff99ffcf5
Support RAID devices which are in resync/recovery process after its creation/assemble.
...
Revert modelCommand.output().trimmed().isEmpty() check in SfdiskBackend::scanDevice.
2018-07-15 12:06:54 -03:00
Andrius Štikonas
5828e9daac
Scan LVM devices after RAID.
...
This should allow us to find LVM PVs that are on RAID devices.
2018-07-15 13:03:07 +01:00
l10n daemon script
79a6f5a192
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-07-15 05:17:11 +02:00
Caio Carvalho
d8602817f0
Adding reassemble method for SoftwareRAID.
2018-07-12 14:38:52 -03:00
Caio Carvalho
3f7c5ca722
Reassemble Software RAID when commit partition table.
2018-07-12 14:08:24 -03:00
Andrius Štikonas
b11b73b1e5
Remove extra semicolon after Q_UNUSED.
2018-07-12 00:12:43 +01:00
Andrius Štikonas
d51404c7f1
sfdisk: fix returned partition name
...
This makes it work with partitions such as /dev/mmcblk1p2
2018-07-11 23:36:20 +01:00
Caio Carvalho
ae8987b82c
Sfdisk always creates RAID logical partitions with a 'p' character before partition number.
2018-07-10 23:03:21 -03:00
Caio Carvalho
c03c0ddc15
Including src/core/raid subdirectory.
2018-07-09 20:48:52 -03:00
Caio Carvalho
998b1292c0
SoftwareRAID initial implementation.
2018-07-09 20:01:34 -03:00
l10n daemon script
11954f1185
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-06-16 05:31:52 +02:00
Andrius Štikonas
dc248c3011
Merge branch 'master' into kauth
2018-06-15 20:40:29 +01:00
Caio Carvalho
358957641b
Including LVM VG device scan in scanDevice in SfdiskBackend and LibPartedBackend. It was scanning only for DiskDevices.
2018-06-11 18:33:11 -03:00
l10n daemon script
7497d509f4
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-06-07 05:41:48 +02:00
l10n daemon script
b3a8a3874f
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-04-23 05:26:25 +02:00
Andrius Štikonas
07458efb91
Make sure system is informed about the change of file system label.
2018-04-13 15:54:51 +03:00
Andrius Štikonas
6b558f49d8
Use blockdev --rereadpt instead of partx --update.
2018-04-13 13:08:43 +03:00
Andrius Štikonas
622def3b56
Convert more enums to scoped enums.
2018-04-09 15:14:34 +01:00
Andrius Štikonas
ee2688d4d9
Merge branch 'master' into kauth
2018-04-09 12:44:14 +01:00
Andrius Štikonas
17c8772240
Explicitely specify the scope of enum.
2018-04-07 19:54:30 +01:00
l10n daemon script
6eab8757b5
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-04-06 05:23:24 +02:00
Andrius Štikonas
279159ca6f
Use smart pointers for CoreBackendPartitionTable.
2018-03-31 21:49:20 +01:00
Andrius Štikonas
2527b3ecc3
Merge branch 'master' into kauth
2018-03-31 20:30:05 +01:00
Andrius Štikonas
738842799a
Make kpmcore link libraries private.
2018-03-31 16:30:53 +01:00
Andrius Štikonas
1500eeb625
Use std::unique_ptr for CoreBackendDevices
2018-03-31 14:44:40 +01:00
Andrius Štikonas
8fa1814f45
Remove libparted backend.
2018-03-31 13:14:38 +01:00
l10n daemon script
8658743a49
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-03-30 05:19:57 +02:00
l10n daemon script
ad863cc6b1
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-03-19 05:09:05 +01:00
Andrius Štikonas
519cc2cd3c
Merge branch 'master' into kauth
2018-03-18 12:52:57 +01:00
l10n daemon script
2f621fc6db
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-03-13 05:16:54 +01:00
l10n daemon script
4406297053
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-03-12 04:59:29 +01:00
l10n daemon script
f89bc39c76
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-03-11 05:21:27 +01:00
l10n daemon script
11d2bbc344
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-03-06 05:21:11 +01:00
l10n daemon script
07a0f47c57
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-03-05 05:14:10 +01:00
l10n daemon script
67b25dc0e9
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-03-04 05:17:01 +01:00
l10n daemon script
fe117a20b0
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-03-03 05:26:15 +01:00
Andrius Štikonas
144e260efe
Finish porting to KCoreAddons JSON plugins.
...
Convert .desktop files to .json with desktoptojson
2018-03-02 11:33:46 +00:00
l10n daemon script
ff9e6c8323
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-02-19 04:59:32 +01:00
Andrius Štikonas
ac6dc0eb87
Remove backend readData/writeData functions.
2018-02-06 16:48:02 +00:00
Andrius Štikonas
af6c345210
Use CMAKE_SYSTEM_NAME to check whether we are running on Linux.
2018-02-04 19:17:34 +00:00
Andrius Štikonas
aa23fc1168
cmake does not define LINUX variable.
2018-02-04 19:11:25 +00:00
Andrius Štikonas
11e435657a
Do not build libparted backend.
2018-02-04 16:14:59 +00:00
Andrius Štikonas
2641730c0c
Merge branch 'master' into kauth
2018-02-04 15:56:38 +00:00
Andrius Štikonas
dcc9875923
Fix regular expression used in readLabel and readUUID.
2018-02-04 15:56:30 +00:00
Andrius Štikonas
4cae6f0632
Merge branch 'master' into kauth
2018-02-04 13:44:29 +00:00
Andrius Štikonas
8aac14ceca
Actually run udev command when reading label/uuid.
2018-02-04 13:40:32 +00:00
Andrius Štikonas
7e60df68bd
Do not expose libparted backend on non Linux systems.
2018-01-31 17:08:05 +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
4eff7d7594
Do not export CoreBackendDevice and CoreBackendPartitionTable classes.
2018-01-21 13:53:07 +00: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
790553aa0b
Merge branch 'smart' into kauth
2018-01-11 11:31:18 +01: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
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
5123411f1f
Add support for FAT12 file system.
2017-12-24 23:24:37 +00:00
Andrius Štikonas
f9cd824075
Add a comment about boot flags.
2017-12-20 15:03:48 +00:00
Andrius Štikonas
f8cbd28238
Remove FIXME that was already fixed.
2017-12-16 12:55:34 +00:00
Andrius Štikonas
7aa77f489d
Add FileSystem::Luks2 child class.
2017-12-14 02:08:32 +00:00
Andrius Štikonas
8c030baf3e
Switch file system detection code to udevadm.
2017-12-14 01:14:45 +00:00
Andrius Štikonas
47429dd1bf
Proof of concept attempt to implement KAuth.
2017-12-10 17:36:39 +00:00
Andrius Štikonas
def62c975d
Replace ntfs with ntfs-3g in lsblk file system detection code.
2017-12-09 23:31:31 +00:00
Andrius Štikonas
c3827b0c60
Call kpartx to reread partition table.
2017-12-09 23:29:18 +00:00