Index: uspace/srv/fs/fat/fat_ops.c
===================================================================
--- uspace/srv/fs/fat/fat_ops.c	(revision 0fdd6bbb06ebd929c2d9e4c5f604650f5f06ef82)
+++ uspace/srv/fs/fat/fat_ops.c	(revision a5da44692fdd60126ee6a59330558b0460f54775)
@@ -95,7 +95,11 @@
 
 	d->firstc = host2uint16_t_le(node->firstc);
-	if (node->type == FAT_FILE)
+	if (node->type == FAT_FILE) {
 		d->size = host2uint32_t_le(node->size);
-	/* TODO: update other fields? (e.g time fields, attr field) */
+	} else if (node->type == FAT_DIRECTORY) {
+		d->attr = FAT_ATTR_SUBDIR;
+	}
+	
+	/* TODO: update other fields? (e.g time fields) */
 	
 	b->dirty = true;		/* need to sync block */
