SWAPTAB
Section: File Formats (5)
Updated: March 1, 1989
Index
Return to Main Contents
NAME
swaptab - static table of paging files
SYNOPSIS
/etc/swaptab
DESCRIPTION
The
/etc/swaptab
file contains entries for files that can be enabled for system
paging/swapping. This file is read automatically by the
mach_swapon(8)
command at system startup time. If you change this file, the
changes will not take effect until the system is rebooted.
An entry for a paging file consists of a line of the following form:
-
file [option[,option]...] [# comment]
- file
-
is the pathname of the file to page into
- option
-
is one of:
-
- prefer
-
Enable this file as a "preferred" paging area. The system will
preferentially allocate space in this paging file over non-preferred
paging files.
- noauto
-
Do not enable this file when
mach_swapon -a
is called.
- 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.
- comment
-
Anything preceded by a
#
is ignored.
EXAMPLE
#
# /etc/swaptab
#
/private/vm/swapfile lowat=20971520 # 20 Meg low water mark
FILES
- /etc/swaptab
-
SEE ALSO
mach_swapon(2),
mach_swapon(8)
WARNINGS
Entries beginning with whitespace will be ignored.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXAMPLE
-
- FILES
-
- SEE ALSO
-
- WARNINGS
-
This document was created by
man2html,
using the manual pages.
Time: 00:59:15 GMT, September 26, 2024