summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/newfs.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-03-19 21:05:29 +0000
committerphk <phk@FreeBSD.org>2002-03-19 21:05:29 +0000
commitca2e5c188ee68045b54a86bfefcfd4a75e174221 (patch)
treeefe73699db1df391f9b4fcd88000d3a2f42d5ede /sbin/newfs/newfs.h
parent5a84f9883932fbf90adb9dd3951956e85776adb9 (diff)
downloadFreeBSD-src-ca2e5c188ee68045b54a86bfefcfd4a75e174221.zip
FreeBSD-src-ca2e5c188ee68045b54a86bfefcfd4a75e174221.tar.gz
Add the undocumented -R option to disable randomness for regression-testing.
Add a couple of simple regression tests accessible with "make test", they depend on the md(4) driver. FYI I have also tried running the test against a week old newfs and it passed.
Diffstat (limited to 'sbin/newfs/newfs.h')
-rw-r--r--sbin/newfs/newfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/newfs/newfs.h b/sbin/newfs/newfs.h
index 0386c5f..96c4602 100644
--- a/sbin/newfs/newfs.h
+++ b/sbin/newfs/newfs.h
@@ -39,6 +39,7 @@
*/
extern int Nflag; /* run mkfs without writing file system */
extern int Oflag; /* format as an 4.3BSD file system */
+extern int Rflag; /* regression test */
extern int Uflag; /* enable soft updates for file system */
extern int fssize; /* file system size */
extern int ntracks; /* # tracks/cylinder */
OpenPOWER on IntegriCloud