HomeFreeBSD

Allow forced r/w mount of UFS/FFS filesystem with a bad check hash.

Description

Allow forced r/w mount of UFS/FFS filesystem with a bad check hash.

Normally a UFS/FFS filesystem with a bad check hash can only be
mounted read only. With this commit the mount(8) -f (force) option
can be used to force a read-write mount of a UFS/FFS filesystem with
a bad check hash. Conveniently the filesystem will proceed to
update its on-disk superblock with a corrected check hash.

Sponsored by: Netflix

Details

Provenance
mckusickAuthored on Nov 16 2021, 12:03 AM
Parents
rGf10a8d09716d: Allow the MNT_FORCE flag to be passed through to an initial mount.
Branches
Unknown
Tags
Unknown