Up to [cvs.NetBSD.org] / src / tests / sbin / fsck_ffs
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Perform quoting of variable expansions, etc correctly. That includes (some) removing of quotes from where they're useless (superstition). This should be NFC for these tests, as the data being quoted doesn't happen to require it, but depending upon the data not altering, or the code not being copied to a different environment is unwise, when it is so easy to simply do it correctly. A few line wrapping and white space changes as well. Nothing changed here is intended to alter the way that the tests run, or results generated.
Simplify: avoid use of the explicit raw partition, MAKDEV does all the needed magic for us already. Pointed out by kre
Avoid dependence on details of the MD synthesized disklabel for the vnd after mounting the single filesystem image.
vnconfig is used in this tests, so require user root.
Restore backward compatibility of UFS2 with previous NetBSD releases by disabling support in UFS2 for extended attributes (including ACLs). Add a new variant of UFS2 called "UFS2ea" that does support extended attributes. Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended attributes in the process).