Index: uspace/srv/fs/fat/fat_ops.c
===================================================================
--- uspace/srv/fs/fat/fat_ops.c	(revision a9d4d2c28e8ca2746735587e04dd08fb3343d6a0)
+++ uspace/srv/fs/fat/fat_ops.c	(revision 2ab1023ece3b484a3f4b5022e4705652833c3270)
@@ -357,9 +357,15 @@
 		 */
 		nodep->type = FAT_DIRECTORY;
+		/*
+		 * TODO: determine the size by walking FAT. Surprisingly, the
+		 * 'size' filed of the FAT dentry is not defined for the
+		 * directory entry type.
+		 */
+		nodep->size = 64 * sizeof(fat_dentry_t);
 	} else {
 		nodep->type = FAT_FILE;
+		nodep->size = uint32_t_le2host(d->size);
 	}
 	nodep->firstc = uint16_t_le2host(d->firstc);
-	nodep->size = uint32_t_le2host(d->size);
 	nodep->lnkcnt = 1;
 	nodep->refcnt = 1;
