1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Make NSWAPDEV reasonable so people do not mistakenly use unreasonable

values when creating custom kernels from LINT.

Suggested-by: "Louis A. Mamakos" <louie@TransSys.COM>
This commit is contained in:
Matthew Dillon 2001-01-15 06:45:01 +00:00
parent f357eb9800
commit 8f7939aeef
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71052
2 changed files with 12 additions and 2 deletions

View File

@ -710,7 +710,12 @@ options MD_ROOT
options MD_NSECT=40000
# Allow this many swap-devices.
options NSWAPDEV=20
#
# In order to manage swap, the system must reserve bitmap space that
# scales with the largest mounted swap device multiplied by NSWAPDEV,
# irregardless of whether other swap devices exist or not. So it
# is not a good idea to make this value too large.
options NSWAPDEV=4
# Disk quotas are supported when this option is enabled.
options QUOTA #enable disk quotas

View File

@ -710,7 +710,12 @@ options MD_ROOT
options MD_NSECT=40000
# Allow this many swap-devices.
options NSWAPDEV=20
#
# In order to manage swap, the system must reserve bitmap space that
# scales with the largest mounted swap device multiplied by NSWAPDEV,
# irregardless of whether other swap devices exist or not. So it
# is not a good idea to make this value too large.
options NSWAPDEV=4
# Disk quotas are supported when this option is enabled.
options QUOTA #enable disk quotas