du (disk usage) reports 6.1M but directory is empty
You're looking at a result of how Ext2/3/4 filesystems work. The list of files (inodes) in the directory is kept as the directory 'file', represented as the .
in the listing. After removing the files in the directory, the disk usage does not shrink.
Therefore, I assume you had a lot of files in the directory before (or you're omitting them in the ls
output in your question). The only solution is to remove and recreate the directory to free up this space.
See also: Why could the size of the “dot file” /. exceed 4096?
For as to what the total 6228
means, see ls command: what does the first line mean?