DragonFly On-Line Manual Pages

Search: Section:  


MKFILE(8)              DragonFly System Manager's Manual             MKFILE(8)

NAME

mkfile - create a file

SYNOPSIS

mkfile [-nv] size[e|p|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 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 ALSO

swapon(2), swapon(8), mdconfig(8)

HISTORY

A mkfile command first appeared in SunOS. DragonFly 6.5-DEVELOPMENT January 21, 2004 DragonFly 6.5-DEVELOPMENT

Search: Section: