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 729810 - ZFS file systems are in the ignored mountlist
ZFS file systems are in the ignored mountlist
Status: RESOLVED OBSOLETE
Product: libgtop
Classification: Core
Component: linux
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libgtop maintainers
libgtop maintainers
Depends on:
Blocks:
 
 
Reported: 2014-05-08 12:10 UTC by Mike Swanson
Modified: 2018-01-10 19:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Don't ignore zfs (450 bytes, patch)
2014-05-08 12:10 UTC, Mike Swanson
none Details | Review

Description Mike Swanson 2014-05-08 12:10:04 UTC
Created attachment 276153 [details] [review]
Don't ignore zfs

File systems under ZFS are not stored on any typical block device, instead they are all part of storage pools and thus do not show up as being mounted on a block device.  ZFS on Linux (http://zfsonlinux.org/) reflects this by having /proc/filesystems print out "nodev zfs".

The patch attached makes a special exception for ZFS file systems.  Especially good about it, is that it makes baobab not exit immediately on a pure-ZFS system claiming to not find any mounted file systems.
Comment 1 Benoît Dejean 2014-05-13 14:53:54 UTC
What do "df" and "df -a" display ? I think we should mirror its behaviour.
Comment 2 Mike Swanson 2014-05-13 20:02:46 UTC
Regular "df" shows zfs file systems, as well as devtmpfs and tmpfs ones. "df -a" seems to include things like securityfs, debugfs, autofs, mqueue, etc.
Comment 3 Benoît Dejean 2014-05-17 05:44:26 UTC
"df" does this by walking the mount list and then excluding fs with f_blocks == 0. But it does both at the same time when glibtop has 2 functions for that.
Comment 4 GNOME Infrastructure Team 2018-01-10 19:50:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgtop/issues/30.