diff --git a/src/modules/partition/core/PartitionLayout.cpp b/src/modules/partition/core/PartitionLayout.cpp index 4f1086d19..4754a3343 100644 --- a/src/modules/partition/core/PartitionLayout.cpp +++ b/src/modules/partition/core/PartitionLayout.cpp @@ -239,6 +239,7 @@ PartitionLayout::execute( Device* dev, PartitionInfo::setMountPoint( currentPartition, part.partMountPoint ); if ( !part.partLabel.isEmpty() ) { + currentPartition->setLabel( part.partLabel ); currentPartition->fileSystem().setLabel( part.partLabel ); } if ( !part.partFeatures.isEmpty() ) diff --git a/src/modules/partition/partition.conf b/src/modules/partition/partition.conf index 5b7d5ee60..d109baba3 100644 --- a/src/modules/partition/partition.conf +++ b/src/modules/partition/partition.conf @@ -118,7 +118,9 @@ defaultFileSystemType: "ext4" # size: 100% # # There can be any number of partitions, each entry having the following attributes: -# - name: partition label +# - name: filesystem label +# and +# partition name (gpt only; since KPMCore 4.2.0) # - filesystem: filesystem type # - mountPoint: partition mount point # - size: partition size in bytes (append 'K', 'M' or 'G' for KiB, MiB or GiB)