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 617245 - Glib unable to determine fstype of a reiser4 partition
Glib unable to determine fstype of a reiser4 partition
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
2.22.x
Other Linux
: High major
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2010-04-30 03:12 UTC by Serkan Kaba
Modified: 2011-01-06 13:11 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
Sample code (834 bytes, text/x-csrc)
2010-04-30 03:12 UTC, Serkan Kaba
  Details
Patch to fix the issue (678 bytes, patch)
2010-09-12 21:28 UTC, Serkan Kaba
committed Details | Review

Description Serkan Kaba 2010-04-30 03:12:05 UTC
Created attachment 159956 [details]
Sample code

g_file_info_get_attribute_string returns nothing for G_FILE_ATTRIBUTE_FILESYSTEM_TYPE for files in a reiser4 partition.

Attaching sample code. It doesn't print the fstype if the file is in a reiser4 partition.
Comment 1 Serkan Kaba 2010-09-12 21:28:08 UTC
Created attachment 170095 [details] [review]
Patch to fix the issue
Comment 2 Serkan Kaba 2011-01-06 07:49:00 UTC
Can this be fixed for glib 2.28 release?
Comment 3 Tomas Bzatek 2011-01-06 12:52:24 UTC
Comment on attachment 170095 [details] [review]
Patch to fix the issue

Works fine here.
Comment 4 Tomas Bzatek 2011-01-06 13:11:22 UTC
Pushed to master:

commit 26b65a3abda5ad0930b1cd0d0652417feb50c274
Author: Serkan Kaba <serkan@gentoo.org>
Date:   Thu Jan 6 14:08:02 2011 +0100

    gio: Recognize reiser4 in g_file_query_filesystem_info()
    
    Signed-off-by: Serkan Kaba <serkan@gentoo.org>
    Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>