GNOME Bugzilla – Bug 704702
details panel doesn't show disk information if there's no /etc/fstab
Last modified: 2017-04-29 12:30:25 UTC
it shows '0 bytes'.
Created attachment 249834 [details] [review] proposed patch the g_unix_mount_points_get() function checks for entry mount points. if there are none, it returns NULL and we end up showing no information about disks. if that's the case, this patch calls g_unix_mounts_get() which checks for mounted filesystems in /etc/mtab. also we need to update the list of ignored filesystems to include rootfs, which is always present and is a duplicate of an actual filesystem mount point.
Review of attachment 249834 [details] [review]: Looks good, please push to gnome-3-8 and master
pushed, thanks.
Backported a portion of this to g-s-d. commit c80b2c4128be119cf17fd9b00af99f6f1a1a3f41 Author: Jonh Wendell <jonh.wendell@intel.com> Date: Mon Jul 22 16:15:57 2013 -0300 housekeeping: Add rootfs to the list of ignored filesystems Update the list of ignored filesystems to include rootfs include rootfs, which is always present and is a duplicate of an actual filesystem mount point. https://bugzilla.gnome.org/show_bug.cgi?id=704702