d464a7698d
The previous change to CGSIZE had the unintended side-effect of allowing
newfs and makefs to create file systems that would fail validation when
examined by older commands and kernels, by allowing newfs/makefs to pack
slightly more blocks into a CG than those older binaries think is valid.
Fix this by having newfs/makefs artificially restrict the number of blocks
in a CG to the slightly smaller value that those older binaries will accept.
The validation code will continue to accept the slightly larger value
that the current newfs/makefs (before this change) could create.
Fixes:
|
||
---|---|---|
.. | ||
buf.c | ||
buf.h | ||
ffs_alloc.c | ||
ffs_balloc.c | ||
ffs_bswap.c | ||
ffs_extern.h | ||
ffs_subr.c | ||
Makefile.inc | ||
mkfs.c | ||
newfs_extern.h | ||
ufs_bmap.c | ||
ufs_bswap.h | ||
ufs_inode.h |