GNOME Bugzilla – Bug 744108
Creating an XFS file system never completes
Last modified: 2015-03-23 17:46:41 UTC
I broke GParted's ability to create XFS file systems. From the commit message to fix it: Trying to create an XFS file system causes the following error and the create new xfs file system step to never complete. # ./gpartedbin ====================== libparted : 2.4 ====================== (gpartedbin:15572): glibmm-CRITICAL **: unhandled exception (type Glib::Error) in signal handler: domain: g-shell-error-quark code : 0 what : Text ended before matching quote was found for ". (The text was 'mkfs.xfs -f -L "mylabel" " /dev/sdb8') Creation of XFS file systems was broken by the extra stray double quote added to the command before the device name, by commit: 63aeb150ace06f678241f514c550e51b22d2f823 Rename member variables and methods in Partition class (#741424)
Created attachment 296301 [details] [review] Fix creating XFS file systems (v1) Hi Curtis, Here's the fix for my bug. Thanks, Mike
Hi Mike, Good work finding this error that we introduced, especially prior to packaging it into a release. :-) I confirmed both the problem and that the patch fixes the problem. The patch in comment #1 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: Fix double quote error creating XFS file systems (#744108) https://git.gnome.org/browse/gparted/commit/?id=70cc6187d510ce5c53349b8f02e7f495a12ce4a2 Curtis
This enhancement was included in the GParted 0.22.0 release on March 23, 2015.