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)
Fri, Dec 13, 9:48 PM
Unknown Object (File)
Tue, Dec 3, 2:56 PM
Unknown Object (File)
Nov 26 2024, 2:16 AM
Unknown Object (File)
Nov 22 2024, 5:07 PM
Unknown Object (File)
Nov 20 2024, 10:31 PM
Unknown Object (File)
Oct 12 2024, 6:05 PM
Unknown Object (File)
Oct 12 2024, 6:05 PM
Unknown Object (File)
Oct 6 2024, 8:25 AM

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