HomeFreeBSD

The fsck_ffs program had previously only been able to expand the size

Description

The fsck_ffs program had previously only been able to expand the size
of its lost+found directory by allocating direct block pointers. The
effect was that it was limited to about 19,000 files. One of Peter Holm's
tests produced a filesystem with about 23,000 lost files which meant
that fsck_ffs was unable to recover it. This update allows lost+found
to be expanded into a single indirect block which allows it to store
up to about 6,573,000 lost files.

Reported by: Peter Holm
Sponsored by: Netflix

Details

Provenance
mckusickAuthored on Jan 3 2021, 6:31 AM
Parents
rG1868a91fac5e: Regenerate syscall files after addition of aio_writev/aio_readv
Branches
Unknown
Tags
Unknown