freebsd-src/sbin/growfs
Kirk McKusick cb59f7dd22 Correctly update fs_dsize in growfs(8)
When growing a UFS/FFS filesystem, the size of the summary information
may expand into additional blocks. These blocks must be removed from
fs_dsize which records the number of blocks in the filesystem that can
be used to hold filesystem data.

While here also update the fs_old_dsize and fs_old_size fields for
compatibility with kernels that were compiled before the addition
of UFS2.

(cherry picked from commit 2049cc3218)
2022-07-08 14:46:16 -07:00
..
tests Check the exit code from fsck_ffs instead of relying on MODIFIED being in the output 2017-10-10 05:58:33 +00:00
debug.c spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
debug.h spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
growfs.8 Tone down the description for the growfs "-y" flag. 2017-12-13 14:08:33 +00:00
growfs.c Correctly update fs_dsize in growfs(8) 2022-07-08 14:46:16 -07:00
Makefile Growfs got missed in r323923 that added a check hash to cylinder groups. 2017-10-10 16:17:03 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00