diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c
index 0035d57e7..8cab92ffb 100644
--- a/gio/gunixmounts.c
+++ b/gio/gunixmounts.c
@@ -490,6 +490,11 @@ _g_get_unix_mounts (void)
       mount_options = mnt_fs_strdup_options (fs);
       if (mount_options)
         {
+          if (mnt_match_options(mount_options, "x-gvfs-hide"))
+            {
+              g_free (mount_options);
+              continue;
+            }
           mnt_optstr_get_flags (mount_options, &mount_flags, mnt_get_builtin_optmap (MNT_LINUX_MAP));
           g_free (mount_options);
         }
