HomeFreeBSD

Delete UFS2 backup superblock recovery info when building a UFS1 filesystem.

Description

Delete UFS2 backup superblock recovery info when building a UFS1 filesystem.

Only the UFS2 filesystem has support for storing information needed
to find alternate superblocks. If that information is inadvertently
left in place when building a UFS1 filesystem, fsck_ffs may stumble
across it and attempt to use it to recover the UFS1 filesystem
which can only end poorly.

Details

Provenance
mckusickAuthored on Jul 21 2022, 5:45 AM
Parents
rG7c332e97bbd3: Ask to look for alternate UFS2 superblocks when the standard one is unusable.
Branches
Unknown
Tags
Unknown