Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 1997 13:51:33 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-hackers@FreeBSD.ORG
Cc:        scott@cray-ymp.acm.stuorg.vt.edu (Scott Gasch)
Subject:   Re: Question about swapping
Message-ID:  <19971123135133.QT63402@uriah.heep.sax.de>
In-Reply-To: <199711202147.QAA27967@cray-ymp.acm.stuorg.vt.edu>; from Scott Gasch on Nov 20, 1997 16:47:46 -0500
References:  <199711202147.QAA27967@cray-ymp.acm.stuorg.vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
As Scott Gasch wrote:

> 	Did I miss something?  Reading the swapinfo and swapon
> 	man pages led me to believe there was no two partition
> 	limit...

There's a four partition limit in -current.  I don't understand the
possible source for a two partition limit though.

The actual limit is NSWAPDEV, which is a kernel compile-time option
(well, not a good one, it's not officially supported, you gotta
recompile vm_swap.o after changing the option).  NSWAPDEV defaults to
4 in /sys/vm/vm_swap.c.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971123135133.QT63402>