MKFILE(8) BSD System Manager's Manual MKFILE(8)NAMEmkfile — create a file
SYNOPSISmkfile [-nv] size[e|p|t|g|m|k|b] filename ...
DESCRIPTIONmkfile 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
exabytes, petabytes, terabytes, gigabytes, megabytes, kilobytes, or
blocks, with the e, p, 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 ALSOswapon(2), swapon(8), mdconfig(8)HISTORY
A mkfile command first appeared in SunOS.
BSD January 21, 2004 BSD