mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
[partition] Name partition using filesystem label
This commit is contained in:
parent
2eb84e2de1
commit
cba4d2e93b
2 changed files with 4 additions and 1 deletions
|
@ -237,6 +237,7 @@ PartitionLayout::execute( Device* dev,
|
||||||
PartitionInfo::setMountPoint( currentPartition, part.partMountPoint );
|
PartitionInfo::setMountPoint( currentPartition, part.partMountPoint );
|
||||||
if ( !part.partLabel.isEmpty() )
|
if ( !part.partLabel.isEmpty() )
|
||||||
{
|
{
|
||||||
|
currentPartition->setLabel( part.partLabel );
|
||||||
currentPartition->fileSystem().setLabel( part.partLabel );
|
currentPartition->fileSystem().setLabel( part.partLabel );
|
||||||
}
|
}
|
||||||
// Some buggy (legacy) BIOSes test if the bootflag of at least one partition is set.
|
// Some buggy (legacy) BIOSes test if the bootflag of at least one partition is set.
|
||||||
|
|
|
@ -112,7 +112,9 @@ defaultFileSystemType: "ext4"
|
||||||
# size: 100%
|
# size: 100%
|
||||||
#
|
#
|
||||||
# There can be any number of partitions, each entry having the following attributes:
|
# 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
|
# - filesystem: filesystem type
|
||||||
# - mountPoint: partition mount point
|
# - mountPoint: partition mount point
|
||||||
# - size: partition size in bytes (append 'K', 'M' or 'G' for KiB, MiB or GiB)
|
# - size: partition size in bytes (append 'K', 'M' or 'G' for KiB, MiB or GiB)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue