Index: uspace/srv/fs/fat/fat_ops.c
===================================================================
--- uspace/srv/fs/fat/fat_ops.c	(revision d2e9c47bcb3bf989ac5e9dc8f69fca7d2e0ae50f)
+++ uspace/srv/fs/fat/fat_ops.c	(revision 9fcdb2e47bf10ab0360bec803e2a1699dbf56f42)
@@ -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;
