GNOME Bugzilla – Bug 663590
[PATCH] Fix btrfs volume label reading
Last modified: 2011-12-13 17:41:26 UTC
Created attachment 200939 [details] [review] btrfs label reading patch Hi, Quoting the patch message ... There are still 2 issues with reading btrfs labels when falling back on using btrfs-show command, rather than primary method of using the blkid command: 1) Label is set no "none" when btrfs-show is reporting there is no label, although it is impossible to distinguish from the case of the label actually being set to "none". 2) The label has 2 trailing spaces appended as the regular expression matches "Label: (btrfslabel )uuid:" rather than "Label: (btrfslabel) uuid:" in the btrfs-show output. Assume a label "none" means there is no label and fix the regular expression. Thanks, Mike
Thank you Mike for identifying this problem and creating a patch. Your patch has been committed to the git repository for inclusion in the next release of GParted. The relevant git commit can be viewed at the following link: http://git.gnome.org/browse/gparted/commit/?id=cbd3170e579cc1794ada5316858829e58fbfcb85
The enhancement to address this bug report has been included in GParted 0.11.0 released on Dec. 13, 2011.