After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 600496 - Allow changing ext2/3 label without unmounting partition
Allow changing ext2/3 label without unmounting partition
Status: RESOLVED OBSOLETE
Product: gparted
Classification: Other
Component: application
0.4.3
Other Linux
: Low enhancement
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2009-11-03 00:06 UTC by Artemy Tregubenko
Modified: 2020-11-13 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Artemy Tregubenko 2009-11-03 00:06:15 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.
Comment 1 Curtis Gedak 2009-11-03 15:38:41 UTC
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?
Comment 2 Artemy Tregubenko 2009-11-03 15:57:20 UTC
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.
Comment 3 Curtis Gedak 2009-11-03 18:23:40 UTC
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.
Comment 4 Artemy Tregubenko 2009-11-03 21:21:02 UTC
Sure.

Unfortunately, I've learned this one by occasion, so its unlikely that I'll learn about any other.
Comment 5 Curtis Gedak 2009-11-04 16:34:13 UTC
Marking this bug as an enhancement request.
Comment 6 V字龍(Vdragon) 2014-09-11 14:12:29 UTC
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)
Comment 7 André Klapper 2020-11-13 10:40:46 UTC
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).