After iterating through all the file & directory entries created in a memfs virtual file system, I noticed that ALL directories created with Mkdir show a size of zero. A real file system AFAIK would report the size of the FS directory entry (not to be confused with the size of underlying files).
After iterating through all the file & directory entries created in a
memfsvirtual file system, I noticed that ALL directories created withMkdirshow a size of zero. A real file system AFAIK would report the size of the FS directory entry (not to be confused with the size of underlying files).