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 742741 - Nilfs2 file system is unusable on RHEL/CentOS 6
Nilfs2 file system is unusable on RHEL/CentOS 6
Status: RESOLVED FIXED
Product: gparted
Classification: Other
Component: application
GIT HEAD
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2015-01-11 10:30 UTC by Mike Fleetwood
Modified: 2015-03-23 17:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Support nilfs2 file system on RHEL/CentOS 6 (v1) (16.07 KB, patch)
2015-01-11 14:33 UTC, Mike Fleetwood
none Details | Review

Description Mike Fleetwood 2015-01-11 10:30:44 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
Comment 1 Mike Fleetwood 2015-01-11 14:33:51 UTC
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
Comment 2 Curtis Gedak 2015-03-09 16:58:26 UTC
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
Comment 3 Curtis Gedak 2015-03-23 17:48:13 UTC
This enhancement was included in the GParted 0.22.0 release on March 23, 2015.