HomeFreeBSD

Relax checking if the privider size matches size recorded in the

Description

Relax checking if the privider size matches size recorded in the
superblock, allowing provider to be bit bigger, i.e. have some
extra padding after the FS image. That in some cases might be
a side-effect of using CLOOP format which enforces certain block
size and trying to compress image that is not exactly the number
of those blocks in size. The UFS itself does not have any issues
mounting such padded file systems, so it's what GEOM_LABEL should
do.

Submitted by: @mizhka_gmail.com
Differential Revision: https://reviews.freebsd.org/D6208

Details

Provenance
sobomaxAuthored on
Differential Revision
D6208: [geom] g_label_ufs may not find UFS1 header in case of usage GEOM_UZIP
Parents
rS302984: MFC r302573:
Branches
Unknown
Tags
Unknown