summaryrefslogtreecommitdiff
path: root/sbin/newfs
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/newfs')
-rw-r--r--sbin/newfs/newfs.824
1 files changed, 13 insertions, 11 deletions
diff --git a/sbin/newfs/newfs.8 b/sbin/newfs/newfs.8
index 14f16d724ba..926f3dfe485 100644
--- a/sbin/newfs/newfs.8
+++ b/sbin/newfs/newfs.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: newfs.8,v 1.8 1998/08/30 22:45:12 deraadt Exp $
+.\" $OpenBSD: newfs.8,v 1.9 1998/09/17 04:14:57 aaron Exp $
.\" $NetBSD: newfs.8,v 1.12 1995/03/18 14:58:41 cgd Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993, 1994
@@ -45,7 +45,7 @@
.Nm newfs
.Op Fl NO
.Op Fl S Ar sector-size
-.Op Fl a maxcontig
+.Op Fl a Ar maxcontig
.Op Fl b Ar block-size
.Op Fl c Ar cylinders
.Op Fl d Ar rotdelay
@@ -67,7 +67,7 @@
.Ar special
.Nm mount_mfs
.Op Fl N
-.Op Fl a maxcontig
+.Op Fl a Ar maxcontig
.Op Fl b Ar block-size
.Op Fl c Ar cylinders
.Op Fl d Ar rotdelay
@@ -79,7 +79,7 @@
.Op Fl s Ar size
.Ar special node
.Sh DESCRIPTION
-.Nm Newfs
+.Nm newfs
replaces the more obtuse
.Xr mkfs 8
program.
@@ -89,17 +89,19 @@ or
.Nm mount_mfs ,
the disk must be labeled using
.Xr disklabel 8 .
-.Nm Newfs
-builds a file system on the specified special device
+.Nm newfs
+builds a file system on the specified
+.Ar special
+device,
basing its defaults on the information in the disk label.
Typically the defaults are reasonable, however
.Nm newfs
has numerous options to allow the defaults to be selectively overridden.
.Pp
-.Nm Mount_mfs
+.Nm mount_mfs
is used to build a file system in virtual memory and then mount it
on a specified node.
-.Nm Mount_mfs
+.Nm mount_mfs
exits and the contents of the file system are lost
when the file system is unmounted.
If
@@ -134,7 +136,7 @@ built-in so it is not necessary to run
manually unless you wish to re-randomize the
filesystem (or list the inode generation numbers).
.Pp
-The following options define the general layout policies.
+The following options define the general layout policies:
.Bl -tag -width Fl
.It Fl N
Causes the file system parameters to be printed out
@@ -194,7 +196,7 @@ The number of distinct rotational positions. The default is 1.
.Pq ``space'' or ``time''
The file system can either be instructed to try to minimize the time spent
allocating blocks, or to try to minimize the space fragmentation on the disk.
-Unless an optimizations has been specified, if the value of minfree
+Unless an optimization has been specified, if the value of minfree
(see above) is less than 5%, the default is to optimize for space;
if the value of minfree is greater than or equal to 5%,
the default is to optimize for time.
@@ -214,7 +216,7 @@ different type of disk than the one on which it is initially created
(for example on a write-once disk).
Note that changing any of these values from their defaults will make
it impossible for
-.Xr fsck
+.Xr fsck 8
to find the alternate superblocks if the standard superblock is lost.
.Bl -tag -width Fl
.It Fl S Ar sector-size