HomeFreeBSD

Fix fsck_ffs Pass 1b error exit "bad inode number 2 to nextinode".

Description

Fix fsck_ffs Pass 1b error exit "bad inode number 2 to nextinode".

Pass 1b of fsck_ffs runs only when Pass 1 has found duplicate blocks.
When starting up, Pass 1b failed to properly skip over the two unused
inodes at the beginning of the filesystem resulting in the above error
message when it tried to read the filesystem root inode.

Reported by: Chuck Silvers
Tested by: Chuck Silvers
MFC after: 3 days
Sponsored by: Netflix

Details

Provenance
mckusickAuthored on Mar 24 2021, 11:50 PM
Parents
R10:ec8f1ea8d536: Generalize sanitizer interceptors for memory and string routines
Branches
Unknown
Tags
Unknown