freebsd-dev/sbin/growfs
Kirk McKusick 2049cc3218 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.

Reported by: Edward Tomasz Napiera
MFC after:   1 week
2022-06-27 21:48:24 -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 add Xr to the rc.d script... 2021-04-06 16:32:57 -07:00
growfs.c Correctly update fs_dsize in growfs(8) 2022-06-27 21:48:24 -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