MKFILE(8)

NAME
mkfile - create a file

SYNOPSIS
mkfile [-nv] size[t|g|m|k|b] filename ...

DESCRIPTION
mkfile creates one or more files that are suitable for use as NFS-mounted swap areas, or as local swap areas. The file is padded with zeros by default. The default size is in bytes, but it can be flagged as terabytes, gigabytes, megabytes, kilobytes, or blocks, with the t, g, m, k, or b suffixes, respectively.

The following options are available:

-n  Create an empty filename. The size is noted, but disk blocks are not allocated until data is written to them.

-v  Verbose. Report the names and sizes of created files.

SEE ALSO
swapon(2), swapon(8), vnconfig(8)

HISTORY
A mkfile command first appeared in SunOS.