summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakob <jakob@openbsd.org>2001-10-05 14:35:42 +0000
committerjakob <jakob@openbsd.org>2001-10-05 14:35:42 +0000
commit3707dd99d087c4ca4b1a2c461e962a5ca6b49ce4 (patch)
tree2ef8f0f7d20081fe89a07ecda360ef528538e6b0
parentExtend the FIFO ui with the 'D A <level>' (to set all debug levels) and (diff)
downloadwireguard-openbsd-3707dd99d087c4ca4b1a2c461e962a5ca6b49ce4.tar.xz
wireguard-openbsd-3707dd99d087c4ca4b1a2c461e962a5ca6b49ce4.zip
document missing options. ok deraadt@
-rw-r--r--sbin/tunefs/tunefs.810
-rw-r--r--sbin/tunefs/tunefs.c5
2 files changed, 11 insertions, 4 deletions
diff --git a/sbin/tunefs/tunefs.8 b/sbin/tunefs/tunefs.8
index 8d64759491c..bece755d552 100644
--- a/sbin/tunefs/tunefs.8
+++ b/sbin/tunefs/tunefs.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tunefs.8,v 1.16 2001/04/08 19:42:28 aaron Exp $
+.\" $OpenBSD: tunefs.8,v 1.17 2001/10/05 14:35:42 jakob Exp $
.\" $NetBSD: tunefs.8,v 1.8 1995/03/18 15:01:29 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -42,15 +42,21 @@
.Nd tune up an existing file system
.Sh SYNOPSIS
.Nm tunefs
-.Op Fl A
+.Op Fl Ap
.Op Fl a Ar maxcontig
.Op Fl d Ar rotdelay
.Op Fl e Ar maxbpg
+.Op Fl f Ar avgfilesize
+.Bk -words
.Op Fl m Ar minfree
+.Ek
+.Op Fl n Ar avgfpdir
.Bk -words
.Op Fl o Ar optimize_preference
.Ek
+.Bk -words
.Op Ar special | Ar filesys
+.Ek
.Sh DESCRIPTION
.Nm
is designed to change the dynamic parameters of a file system
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c
index 481ccb204c6..9ccd3df50f3 100644
--- a/sbin/tunefs/tunefs.c
+++ b/sbin/tunefs/tunefs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tunefs.c,v 1.13 2001/05/18 08:27:57 mickey Exp $ */
+/* $OpenBSD: tunefs.c,v 1.14 2001/10/05 14:35:42 jakob Exp $ */
/* $NetBSD: tunefs.c,v 1.10 1995/03/18 15:01:31 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)tunefs.c 8.2 (Berkeley) 4/19/94";
#else
-static char rcsid[] = "$OpenBSD: tunefs.c,v 1.13 2001/05/18 08:27:57 mickey Exp $";
+static char rcsid[] = "$OpenBSD: tunefs.c,v 1.14 2001/10/05 14:35:42 jakob Exp $";
#endif
#endif /* not lint */
@@ -274,6 +274,7 @@ usage()
fprintf(stderr,
"Usage: %s tuneup-options special-device\n"
"where tuneup-options are:\n"
+ "\t-A modify all backups of the super-block\n"
"\t-a maximum contiguous blocks\n"
"\t-d rotational delay between contiguous blocks\n"
"\t-e maximum blocks per file in a cylinder group\n"