I’ve installed Fedora 38 with an encrypted system partition since I’ll be traveling with my device. OS is running fine but now I’d like to have a more human readable label in dolphin for that partition. All renaming attempts in the terminal with “e2label” and “btrfs filesystem label” failed. The KDE partition manager didn’t help either. Disks at least shows me the option to add a label, but can’t unmount the partition to do so (Error unmounting, udisks-error-quark, 14).
Does anyone have any experience and would like to share?
Changing the label should also work during operation.
For example, it should be sufficient to run
sudo btrfs filesystem label / newlabel
to change the label of the root partition (/) tonewlabel
.If I’m not mistaken (can’t test it right now), you have to specify the mountpoint when the partition is mounted. And in unmounted state the device (e.g. /dev/sda).
I did do just that to no avail. No error message either. I managed to find this however:
“btrfs filesystem show” works. I do not know what “lsblk requires a udevadm trigger” means but I’ll look into it
The udevadm command just notified other running components of the change. Rebooting would also work.