'\"macro stdmacro
.if n .pH g1a.mkfs @(#)mkfs	40.10 of 10/10/89
.\" Copyright 1989 AT&T
.nr X
.if \nX=0 .ds x} mkfs 1M "" "\&"
.if \nX=1 .ds x} mkfs 1M ""
.if \nX=2 .ds x} mkfs 1M "" "\&"
.if \nX=3 .ds x} mkfs "" "" "\&"
.TH \*(x}
.SH NAME
\f4mkfs\f1 (generic) \- construct a file system
.SH SYNOPSIS
\f4mkfs\f1 [\f4\-F\f2 FSType\f1] [\f4\-V\f1] [\f4\-m\f1] [\f2current_options\f1] [\f4\-o\f2 specific_options\f1] \f2special\f1 [\f2operands\f1]
.SH DESCRIPTION
\f4mkfs\f1 constructs a file system by writing on  
the \f2special\f1 file; \f2special\f1 must be the first argument.
The file system is created based on the \f2FSType\f1,
\f2specific_options\f1 and
\f2operands\f1 specified on the command line. 
\f4mkfs\fP waits 10 seconds before starting to construct the file system.
During this time the command can be aborted by entering a delete (DEL).
.PP
\f2operands\f1 are \f2FSType\f1-specific and the \f2FSType\f1
specific manual page of \f4mkfs\f1 should be consulted for a detailed
description.
.PP
\f2current_options\f1
are options supported by the \f4s5\f1-specific module of \f4mkfs\f1.
Other \f2FSTypes\f1 do not necessarily support these options.
\f2specific_options\f1 indicate suboptions specified in a comma-separated 
list of suboptions and/or keyword-attribute pairs for interpretation by 
the \f2FSType\f1-specific module of the command. 
.PP
The options are:
.TP 10
\f4\-F\f1
Specify the \f2FSType\f1 to be constructed.
The \f2FSType\f1 should either be specified here or be
determinable from \f4/etc/vfstab\f1 by matching
the \f2special\f1 with an entry in the table.
.TP 10
\f4\-V\f1
Echo the complete command line,
but do not execute the command.
The command line is generated by using
the options and arguments provided by the user
and adding to them information
derived from \f4/etc/vfstab\f1.
This option should be used to
verify and validate the command line.
.TP 10
\f4\-m\f1
Return the command line which was used to create the file system.
The file system must already exist.
This option provides a means of
determining the command used in constructing the file system. 
It cannot be used with \f2current_options\fP, \f2specific_options\fP,
or \f2operands\fP.
It must be invoked by itself.
.TP 10
\f4\-o\f1
Specify \f2FSType\f1-specific options.
.SH NOTES
This command may not be supported for all \f2FSTypes\fP.
.SH FILES
\f4/etc/vfstab\f1	list of default parameters for each file system
.SH SEE ALSO
\f4makefsys\fP(1M),
\f4vfstab\fP(4).
.br
Manual pages for the \f2FSType\fP-specific modules of \f4mkfs\f1.
