summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--panels/info/cc-info-panel.c5
-rw-r--r--panels/info/gsd-disk-space-helper.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 1f7954000..c863f1fb5 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -608,6 +608,11 @@ get_primary_disc_info (CcInfoPanel *self)
GList *p;
points = g_unix_mount_points_get (NULL);
+
+ /* If we do not have /etc/fstab around, try /etc/mtab */
+ if (points == NULL)
+ points = g_unix_mounts_get (NULL);
+
for (p = points; p != NULL; p = p->next)
{
GUnixMountEntry *mount = p->data;
diff --git a/panels/info/gsd-disk-space-helper.c b/panels/info/gsd-disk-space-helper.c
index 198733744..455520d0d 100644
--- a/panels/info/gsd-disk-space-helper.c
+++ b/panels/info/gsd-disk-space-helper.c
@@ -71,6 +71,7 @@ gsd_should_ignore_unix_mount (GUnixMountEntry *mount)
"proc",
"procfs",
"ptyfs",
+ "rootfs",
"rpc_pipefs",
"selinuxfs",
"smbfs",