mkfs(1M) mkfs(1M)
NAME
mkfs (generic) - construct a file system
SYNOPSIS
mkfs [-F FSType] [-V] [-m] [-f] [-o specificoptions] special
[operands]
DESCRIPTION
mkfs constructs a file system on a special file; special must be the
first argument and must be a special character device file (for exam-
ple /dev/ios0/rsdisk000s1). The file system is created based on the
FSType, specificoptions and operands specified on the command line.
mkfs waits 10 seconds before starting to construct the file system.
During this time the command can be aborted by entering a delete
(DEL).
operands are FSType-specific and the FSType specific manual page of
mkfs should be consulted for a detailed description.
OPTIONS
There are three types of option: genericoptions, otheroptions and
specificoptions.
genericoptions Indicates options that are supported not only by the
generic but also by the FST-specific module of the
command (if that command exists).
otheroptions Indicates options that are supported only by the
generic command.
specificoptions Indicates suboptions that are supported only by the
FSType-specific module [see mkfs(1M-ufs) or
mkfs(1M-vxfs)] of the command. They are specified in
a comma-separated list and/or as keyword-attribute
pairs for interpretation by the FSType-specific
module of the command. These suboptions are speci-
fied via the -o option.
The genericoptions are:
-F Specifies the FSType to be constructed. The FSType should either
be specified here or be determinable from /etc/vfstab by matching
the special with an entry in the table.
-V Echoes the complete command line, but does not execute the com-
mand. The command line is generated by using the options and
arguments provided by the user and adding to them information
derived from /etc/vfstab. This option should be used to verify
and validate the command line. When used with the FSType option,
it passes the -V to the FSType-specific module for interpreta-
tion.
Page 1 Reliant UNIX 5.44 Printed 11/98
mkfs(1M) mkfs(1M)
-m Returns the command line which was used to create the file sys-
tem. 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 genericoptions, specificoptions,
or operands. It must be invoked by itself.
-o Specifies FSType-specific options.
The otheroptions are:
-f Fast mkfs; skip the 10 second delay.
NOTES
This command may not be supported for all FSTypes.
FILES
/etc/vfstab
list of default parameters for each file system
SEE ALSO
newfs(1M), vfstab(4).
FSType-specific modules: mkfs(1M-ufs), mkfs(1M-vxfs). Online call
e.g.: "man 1M-ufs mkfs".
Page 2 Reliant UNIX 5.44 Printed 11/98