From owner-freebsd-hackers Sun Nov 23 04:54:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA06860 for hackers-outgoing; Sun, 23 Nov 1997 04:54:01 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id EAA06855 for ; Sun, 23 Nov 1997 04:53:58 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id NAA20050; Sun, 23 Nov 1997 13:53:57 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id NAA00720; Sun, 23 Nov 1997 13:51:33 +0100 (MET) Message-ID: <19971123135133.QT63402@uriah.heep.sax.de> 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 References: <199711202147.QAA27967@cray-ymp.acm.stuorg.vt.edu> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199711202147.QAA27967@cray-ymp.acm.stuorg.vt.edu>; from Scott Gasch on Nov 20, 1997 16:47:46 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)