3 ms·
> It is even possible to zero directory entries pointing to an inode. Historically, fsck would link such anonymous inodes into lost+found using their inode num
by js2 4y ago
> It is even possible to zero directory entries pointing to an inode.
Historically, fsck would link such anonymous inodes into lost+found using their inode number as their name in the lost+found directory, but I admit having no idea whether this still applies to modern journaled file systems.
- inkyoto 4y agoFile system journals have reduced the likelihood of unlinked inodes ending up in /lost+found but have not eliminated it completely. There is still a non-zero chance a journal corruption as well during a unexpected shutdown or complete power loss during the journal update and something turning up after a full fsck run later.