GNOME Bugzilla – Bug 729810
ZFS file systems are in the ignored mountlist
Last modified: 2018-01-10 19:50:47 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.
What do "df" and "df -a" display ? I think we should mirror its behaviour.
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.
"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.
-- 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.