HomeFreeBSD

When mounting a UFS filesystem, return EINTEGRITY rather than EIO

Description

When mounting a UFS filesystem, return EINTEGRITY rather than EIO
when a superblock check-hash error is detected. This change clarifies
a mount that failed due to media hardware failures (EIO) from a mount
that failed due to media errors (EINTEGRITY) that can be corrected by
running fsck(8).

Sponsored by: Netflix

Details

Provenance
mckusickAuthored on
Parents
rS358898: arch.7: remove extraneous markup from header table sizing
Branches
Unknown
Tags
Unknown