commit 4f0659cb966450970454b33c4744f26d2130217a
Author: Alex Dehnert <adehnert@mit.edu>
Date:   Sun Aug 8 09:50:23 2010 -0400

    Subdirectories of /proc/ and /sys are also virtual

diff --git a/baobab/src/baobab-utils.c b/baobab/src/baobab-utils.c
index 2857c5c..e33b2e5 100644
--- a/baobab/src/baobab-utils.c
+++ b/baobab/src/baobab-utils.c
@@ -600,7 +600,9 @@ is_virtual_filesystem (GFile *file)
 	/* FIXME: we need a better way to check virtual FS */
 	if (path != NULL) {
 		if ((strcmp (path, "/proc") == 0) ||
-		    (strcmp (path, "/sys") == 0))
+		    (strcmp (path, "/sys") == 0) ||
+		    (strncmp (path, "/proc/", 6) == 0) ||
+		    (strncmp (path, "/sys/", 5) == 0))
 	 		ret = TRUE;
 	}
 
