mkfs(1M)mkfs(1M)NAMEmkfs - construct a file system (generic)
FStype] specific_options] special
The command creates a file system by writing on the special file spe‐
cial. operands are listed on file-system-specific manpages (see the
recognizes the following options:
Specify the file system type on which to operate (see
fstyp(1M) and fs_wrapper(5)). If this option is
not included on the command line, then the file
system type is determined from the file by match‐
ing special with an entry in that file. If there
is no entry in then the file system type is
determined from the file
Display the command line that was used to create the file sys‐
The file system must already exist. This option
provides a means of determining the parameters
used to construct the file system.
Specify options specific to the file system type.
specific_options is a list of suboptions and/or
keyword/attribute pairs intended for an FStype-
specific module of the command. See the file
system specific manual entries for a description
of the specific_options that are supported, if
Echo the completed command line, but perform no other action.
The command line is generated by incorporating
the specified options and arguments with other
information derived from This option allows the
user to verify the command line.
Execute the command to create a 32MB HFS file system on
Execute the command on an HFS file system, to recreate the command that
was used to create the file system on
was developed by HP and the University of California, Berkeley.
Specifies the default file system type.
Static information about the file systems.
SEE ALSOchmod(1), bdf(1M), df(1M), fsadm(1M), fsck(1M), fstyp(1M),
mkfs_hfs(1M), mkfs_vxfs(1M), newfs(1M), fstab(4), group(4), passwd(4),