Why does fsck (file system check) report "10 files" for empty file system?
by Gew from LinuxQuestions.org on (#5H05Q)
Yeah, I think I pretty much nailed the question in the subject line. If I create an empty ext2 / ext3 / ext4 file system, and run fsck on it, it will return something like:
filesystem: clean, 11/2560 files, 421/10240 blocks
This is with a new file system only containing the lost+found folder. If I remove that, then the fsck returns 10 files. If I add files to the filesystem, the number increases. But it's like the "offset" is 10, instead of 0. Is this normal behavior, or a bug, or am I missing out something in what's being reported, i.e. it's not really the actual file count?
Just curious! ;)


filesystem: clean, 11/2560 files, 421/10240 blocks
This is with a new file system only containing the lost+found folder. If I remove that, then the fsck returns 10 files. If I add files to the filesystem, the number increases. But it's like the "offset" is 10, instead of 0. Is this normal behavior, or a bug, or am I missing out something in what's being reported, i.e. it's not really the actual file count?
Just curious! ;)