GNOME Bugzilla – Bug 742741
Nilfs2 file system is unusable on RHEL/CentOS 6
Last modified: 2015-03-23 17:48:13 UTC
When working on read-write support for whole disk device file systems for bug 741430, I needed a file system which I could label, change the UUID on and wasn't recognised by libparted. On CentOS 6 with libparted 2.1 nilfs2 appeared to fit the bill, but after GParted created a nilfs2 file system it didn't recognise it. Blkid was too old too. Patchset being worked on to address the issues I found so that GParted does support nilfs2 on RHEL/CentOS 6 and I can use it as a test case in the aforementioned bug. Mike
Created attachment 294273 [details] [review] Support nilfs2 file system on RHEL/CentOS 6 (v1) Hi Curtis, Here's the patchset to support nilfs2 on RHEL/CentOS 6. It primarily add detection and mounting ability on this distribution. This then allows the existing operations to be access. Has to apply on top of the "read-only whole disk support" patchset in bug 741430. This is because the first patch adds GParted internal detection of nilfs2 which the patchset from bug 741430 trivially makes just this: + { 1030LL, "\x34\x34", 0LL, NULL, FS_NILFS2 } Thanks, Mike
My regression testing of this patch set has shown that prior file systems continue to be detected. The patch set v1 in comment #1 has been committed to the git repository for inclusion in the next release of GParted. The relevant git commits can be viewed at the following links: Add GParted internal detection of nilfs2 (#742741) https://git.gnome.org/browse/gparted/commit/?id=53fb18096d175241dec8260e2dbaf7d72c75a043 Include failing mount command in the error dialog (#742741) https://git.gnome.org/browse/gparted/commit/?id=30086b2e80b601987193d2bea68029c4b5e02dc4 Add lookup for Linux kernel names of mountable file systems (#742741) https://git.gnome.org/browse/gparted/commit/?id=0bdc1fef142d804cc094da3dbb351c4599bc8cbd Second, try mounting file systems specifying the type (#742741) https://git.gnome.org/browse/gparted/commit/?id=8d9c6f197d5ade7fc479dca0dda54e533f3a6ab1 Display failing activate/deactivate commands in error dialogs https://git.gnome.org/browse/gparted/commit/?id=e33bb8d6888f153c714a757a6e343754aa096441
This enhancement was included in the GParted 0.22.0 release on March 23, 2015.