Page MenuHomeFreeBSD

growfs: allow operation on RW-mounted filesystems
ClosedPublic

Authored by emaste on Mar 2 2021, 10:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 11:34 PM
Unknown Object (File)
Thu, Apr 18, 8:48 AM
Unknown Object (File)
Tue, Apr 16, 4:38 PM
Unknown Object (File)
Fri, Mar 29, 8:01 AM
Unknown Object (File)
Feb 28 2024, 9:18 PM
Unknown Object (File)
Feb 8 2024, 9:48 PM
Unknown Object (File)
Dec 26 2023, 12:18 PM
Unknown Object (File)
Dec 22 2023, 11:33 PM

Details

Summary

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
Fixes: 6eb925f8450f ("Filesystem utilities that modify the...")

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped