GNOME Bugzilla – Bug 600496
Allow changing ext2/3 label without unmounting partition
Last modified: 2020-11-13 10:40:46 UTC
Currently GParted doesn't allow to change partition label when that partition is mounted. However e2label *can* change label of mounted partition. I understand this may not be true for all fs types, but GParted can allow that for ext2/3.
Thank you Artemy for this information about e2label. Is the ability to change the label of a mounted file system available for all versions of e2label? Where did you learn that e2label could work on a mounted file system?
I don't know about older versions of e2label : ( I haven't read anywhere about this specifics, I just tried that on my PC and found that label actually changed even despite partition was mounted. I executed `sudo e2label /dev/sda2 "l-large"`, then checked result in gparted. I have e2fsprogs v 1.41.4-1ubuntu1 installed.
Thank you for the extra information. If GParted recognized the change, then that likely means that blkid saw the change, and hence it would appear that the kernel is aware of the change in label. If you learn of more file systems that permit changing the volume label while mounted I would certainly be interested to know.
Sure. Unfortunately, I've learned this one by occasion, so its unlikely that I'll learn about any other.
Marking this bug as an enhancement request.
Hi, I know that tune2fs can change fs label while it is mounted, but a prerequisite on Ubuntu is to have write access to the block device(e.g. user need to be a member of 'disk' group)
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use gparted and if you still see this bug / want this feature in a recent and currently supported version, then please feel free to report it at https://gitlab.gnome.org/GNOME/gparted/-/issues/ by following the guidelines at https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines Thank you for creating this report and we are sorry it could not be implemented so far (volunteer workforce and time is limited).