freebsd-src/sbin/growfs
Ed Maste b5920128c7 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
Fixes:		6eb925f845 ("Filesystem utilities that modify the...")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29021

(cherry picked from commit 0dcde5cc12)
2021-03-05 20:12:12 -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-05 20:12:12 -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