Article 5H05Q Why does fsck (file system check) report "10 files" for empty file system?

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! ;)latest?d=yIl2AUoC8zA latest?i=pVVLvxMhTDY:YGYXcfWTqBU:F7zBnMy latest?i=pVVLvxMhTDY:YGYXcfWTqBU:V_sGLiP latest?d=qj6IDK7rITs latest?i=pVVLvxMhTDY:YGYXcfWTqBU:gIN9vFwpVVLvxMhTDY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments