| 1 |
# /etc/dphys-swapfile - user settings for dphys-swapfile package |
| 2 |
# author Neil Franklin, last modification 2010.05.05 |
| 3 |
# copyright ETH Zuerich Physics Departement |
| 4 |
# use under either modified/non-advertising BSD or GPL license |
| 5 |
|
| 6 |
# this file is sourced with . so full normal sh syntax applies |
| 7 |
|
| 8 |
# the default settings are added as commented out CONF_*=* lines |
| 9 |
|
| 10 |
|
| 11 |
# where we want the swapfile to be, this is the default |
| 12 |
#CONF_SWAPFILE=/var/swap |
| 13 |
|
| 14 |
# set size to absolute value, leaving empty (default) then uses computed value |
| 15 |
# you most likely don't want this, unless you have an special disk situation |
| 16 |
#CONF_SWAPSIZE= |
| 17 |
|
| 18 |
# set size to computed value, this times RAM size, dynamically adapts, |
| 19 |
# guarantees that there is enough swap without wasting disk space on excess |
| 20 |
#CONF_SWAPFACTOR=2 |
| 21 |
|
| 22 |
# restrict size (computed and absolute!) to maximally this limit |
| 23 |
# can be set to empty for no limit, but beware of filled partitions! |
| 24 |
# this is/was a (outdated?) 32bit kernel limit (in MBytes), do not overrun it |
| 25 |
# but is also sensible on 64bit to prevent filling /var or even / partition |
| 26 |
#CONF_MAXSWAP=2048 |