freebsd-skq/sbin/growfs
Ed Maste 0dcde5cc12 growfs: allow operation on RW-mounted filesystems
growfs supports growing mounted filesystems (writes are temporarily
suspended while the grow happens).  Drop the check for fs_clean == 0
to restore this case.  Leave fs_flags check for FS_UNCLEAN or
FS_NEEDSFSCK which represent the state of the filesystem when it was
mounted, and fsck should be run first if they are set.

PR:		253754
Reviewed by:	mckusick
MFC after:	3 days
Fixes:		6eb925f845 ("Filesystem utilities that modify the...")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29021
2021-03-03 18:35:21 -05: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 growfs: allow operation on RW-mounted filesystems 2021-03-03 18:35:21 -05: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