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:
|
||
---|---|---|
.. | ||
cd9660 | ||
ffs | ||
msdos | ||
sys | ||
tests | ||
zfs | ||
cd9660.c | ||
cd9660.h | ||
ffs.c | ||
ffs.h | ||
Makefile | ||
Makefile.depend | ||
Makefile.depend.host | ||
Makefile.depend.options | ||
makefs.8 | ||
makefs.c | ||
makefs.h | ||
msdos.c | ||
msdos.h | ||
mtree.c | ||
walk.c | ||
zfs.c |