MACH_SWAPON(8)MACH_SWAPON(8)NAMEmach_swapon - add a file for paging/swapping
SYNOPSISmach_swapon [ -v ] [ -o options ] file
mach_swapon [ -v ] [ -f swaptab ] -a
DESCRIPTION
Mach_swapon makes a file available to the system for allocation of
paging and swapping space. It is normally invoked at boot time by the
/etc/rc script, and uses information kept in the /etc/swaptab file to
enable paging on a file (which must be specified as a full pathname).
The super-user can run mach_swapon at any time to enable system paging
on additional files.
OPTIONS
The first form of the command is used to enable paging on file. The
second form of the command is used to enable paging on all files listed
in the swaptab file.
-a All. Enable paging on all files listed in the swaptab file.
-v Verbose. Print each file as it is enabled.
-f swaptab
Read list of paging files from swaptab instead of /etc/swaptab.
-o options
Specify a comma-separated list of optional characteristics for
the file being enabled. options can be selected from among:
prefer Enable this file as a "preferred" paging area. The
system will preferentially allocate space in this paging
file over non-preferred paging files.
lowat=size
Attempt to shrink the file down to the low water mark,
size, when paging resources are freed. If size equals
zero, then the paging file does not shrink as resources
are freed.
hiwat=size
Do not grow the paging file above the high water mark,
size. If size is zero then the file will grow as large
as needed.
nocompress
Do not compress the swapfile. Normally, the swapfile is
compressed, resulting in reduced disk usage and increased
swapping performance (there is less to swap). This
option will turn this feature off.
FILES
/etc/swaptab static pager file information
SEE ALSOmach_swapon(2), swaptab(5)BUGS
There is no mach_swapoff command.
There is no way of listing the currently enabled paging files.
NeXT Computer, Inc. March 1, 1989 MACH_SWAPON(8)