summaryrefslogtreecommitdiffstats
path: root/sbin/newfs/newfs.8
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-03-11 12:48:17 +0000
committerpeter <peter@FreeBSD.org>1997-03-11 12:48:17 +0000
commit2a0adf9a128a6f75e4b31ba66ea2e11b24c5c0b0 (patch)
tree5d0712009e732548da2c201d9d56f3da5dcfd887 /sbin/newfs/newfs.8
parentbd986f80513b7e43c2cfa9a31d651ead5bd1524a (diff)
downloadFreeBSD-src-2a0adf9a128a6f75e4b31ba66ea2e11b24c5c0b0.zip
FreeBSD-src-2a0adf9a128a6f75e4b31ba66ea2e11b24c5c0b0.tar.gz
Merge from Lite2:
- use new getvfsbyname() and mount(2) interface (mount_mfs) - use new fs include files - updated inode / cg layout calculations (?)
Diffstat (limited to 'sbin/newfs/newfs.8')
-rw-r--r--sbin/newfs/newfs.818
1 files changed, 15 insertions, 3 deletions
diff --git a/sbin/newfs/newfs.8 b/sbin/newfs/newfs.8
index 2fd77c4..c23d731 100644
--- a/sbin/newfs/newfs.8
+++ b/sbin/newfs/newfs.8
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)newfs.8 8.3 (Berkeley) 3/27/94
+.\" @(#)newfs.8 8.6 (Berkeley) 5/3/95
.\"
-.Dd March 27, 1994
+.Dd May 3, 1995
.Dt NEWFS 8
.Os BSD 4.2
.Sh NAME
@@ -42,6 +42,7 @@
.Nm newfs
.Op Fl NO
.Op Fl S Ar sector-size
+.Op Fl T Ar disktype
.Op Fl a Ar maxcontig
.Op Fl b Ar block-size
.Op Fl c Ar cylinders
@@ -52,6 +53,7 @@
.Op Fl k Ar skew
.Op Fl l Ar interleave
.Op Fl m Ar free space
+.Op Fl n Ar rotational positions
.Op Fl o Ar optimization
.Op Fl p Ar sectors
.Op Fl r Ar revolutions
@@ -72,6 +74,7 @@
.Op Fl f Ar frag-size
.Op Fl i Ar bytes
.Op Fl m Ar free space
+.Op Fl n Ar rotational positions
.Op Fl o Ar options
.Op Fl s Ar size
.Ar special node
@@ -108,7 +111,10 @@ The parameters to
.Nm mount_mfs
are the same as those to
.Nm newfs .
-The special file is only used to read the disk label which provides
+If the
+.Fl T
+flag is specified (see below), the special file is unused.
+Otherwise, it is only used to read the disk label which provides
a set of configuration parameters for the memory based file system.
The special file is typically that of the primary swap area,
since that is where the file system will be backed up when
@@ -132,6 +138,10 @@ without really creating the file system.
Creates a 4.3BSD format filesystem.
This options is primarily used to build root filesystems
that can be understood by older boot ROMs.
+.It Fl T
+Uses information for the specified disk from
+.Pa /etc/disktab
+instead of trying to get the information from a disklabel.
.It Fl a Ar maxcontig
This specifies the maximum number of contiguous blocks that will be
laid out before forcing a rotational delay (see the
@@ -153,6 +163,7 @@ The default is 0 milliseconds.
See
.Xr tunefs 8
for more details on how to set this option.
+.ne 1i
.It Fl e Ar maxbpg
This indicates the maximum number of blocks any single file can
allocate out of a cylinder group before it is forced to begin
@@ -234,6 +245,7 @@ They are not counted as part of the sectors/track
since they are not available to the file system for data allocation.
.It Fl r Ar revolutions/minute
The speed of the disk in revolutions per minute.
+.ne 1i
.It Fl t Ar #tracks/cylinder
The number of tracks/cylinder available for data allocation by the file
system.
OpenPOWER on IntegriCloud