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 742511 - Creation of reiser4 file systems fails with unsupported warning
Creation of reiser4 file systems fails with unsupported warning
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-07 09:10 UTC by Mike Fleetwood
Modified: 2015-01-26 18:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Creation of reiser4 on Linux 3.x (v1) (1.79 KB, patch)
2015-01-07 09:43 UTC, Mike Fleetwood
none Details | Review

Description Mike Fleetwood 2015-01-07 09:10:54 UTC
Patch to follow
Comment 1 Mike Fleetwood 2015-01-07 09:43:23 UTC
Created attachment 294008 [details] [review]
Creation of reiser4 on Linux 3.x (v1)

Hi Curtis,

Here's the patch for this.  Since no user has reported this I guess they
aren't creating any reiser4 file systems.  Commit message fragment:


With reiser4progs 1.0.7 and earlier mkfs specifically checks for Linux
kernel 2.5 or 2.6.  On Linux 3.x it fails with the following warning:

    # mkfs.reiser4 --yes --label "" /dev/sdb1
    Warn : Linux 3.13.0-39-generic is detected. Reiser4 does not support
    such a platform. Use -f to force over.
    # echo $?
    8

This is fixed in reiser4progs 1.0.8 and later.  From the reiser4progs
SourceForce README.txt:

    . Do not ask for confirmation to work under Linux-3.X;

Found on Ubuntu 12.04 LTS and Ubuntu 14.04 LTS both with reiser4progs
1.0.7 and a Linux 3.x kernel.

Fix by adding "--force" flag to the mkfs command line.


Thanks,
Mike
Comment 2 Curtis Gedak 2015-01-07 15:54:45 UTC
Thanks for this patch Mike.  I suspect you are right and that Reiser4 has fallen out of file system favour.  I confirmed the problem on kubuntu 12.04 LTS and that the patch addresses 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:

Allow creation of reiser4 file systems on Linux 3.x (#742511)
https://git.gnome.org/browse/gparted/commit/?id=be8cc9c0842b1af1347b5c1d3d7fc932a58b3e47
Comment 3 Curtis Gedak 2015-01-26 18:27:31 UTC
This enhancement was included in the GParted 0.21.0 release on January 26, 2015.