kpmcore/src/plugins/sfdisk
Gaël PORTAY 0529ebfb01 Add support for setting the specific GPT type
The GPT partition layout defines the type of the partition using a
UUID[1]. The type of the partition is not related to the underlying
filesystem but to its functionality: rootfs, home, var, swap, esp...

The UUID 4f68bce3-e8cd-4db1-96e7-fbcaf984b709 defines the root partition
(/), the UUID 933ac7e1-2eb4-4f13-b844-0e14e2aef915 defines the home
partition (/home), the UUID 4d21b016-b534-45c2-a9fb-5c16e091fd2d defines
the variable partition (/var)... Also, the UUIDs may vary depending on
the architecture (x86, x86_64, arm or aarch64).

KPMcore guesses the type depending on the underlying filesystem.

This commit enables the setting of a more specific GPT type if it is
specified through the method Partition::setType(). It falls back to the
previous guess type if the type is left unset.

[1]: https://systemd.io/DISCOVERABLE_PARTITIONS/
2020-03-20 22:15:50 -04:00
..
CMakeLists.txt Allow copyblocks to be used together with small QByteArrays. 2018-10-29 00:02:12 +00:00
pmsfdiskbackendplugin.json SVN_SILENT made messages (.desktop file) - always resolve ours 2020-02-07 05:43:45 +01:00
sfdiskbackend.cpp Add support for Minix(Mini Unix) Filesystem 2019-06-09 00:01:30 +05:30
sfdiskbackend.h Add scanDevices function that uses flags instead of bools. 2019-02-09 15:40:06 +00:00
sfdiskdevice.cpp Remove ExternalCommand::waitFor. 2018-07-21 21:19:34 +01:00
sfdiskdevice.h Use smart pointers for CoreBackendPartitionTable. 2018-03-31 21:49:20 +01:00
sfdiskpartitiontable.cpp Add support for setting the specific GPT type 2020-03-20 22:15:50 -04:00
sfdiskpartitiontable.h sfdisk: store a pointer to the device in SfdiskPartitionTable class. 2017-12-07 20:50:54 +00:00