mkfs(1M) mkfs(1M) NAME mkfs - construct a filesystem SYNOPSIS mkfs [ -t efs ] efs_mkfs_options mkfs [ -t xfs ] xfs_mkfs_options mkfs [ -t udf ] udf_mkfs_options DESCRIPTION mkfs constructs a filesystem by writing on the special file given as one of the command line arguments. The filesystem constructed is either an EFS filesystem, an XFS filesystem or an UDF filesystem depending on the arguments given. mkfs constructs EFS filesystems by executing mkfs_efs(1M); XFS filesystems are constructed by executing mkfs_xfs(1M); UDF filesystems are constructed by executing mkfs_udf(1M). The filesystem type chosen can be forced with the -t option (also spelled -F). If one of those options is not given, mkfs determines which filesystem type to construct by examining its arguments. If mkfs special is given, then the choice is EFS unless the special device is an XLV volume with a log subvolume. SEE ALSO mkfs_efs(1M), mkfs_xfs(1M), mkfs_udf(1M). Page 1