From owner-freebsd-questions@FreeBSD.ORG Mon Apr 7 22:30:25 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C6AA37B401 for ; Mon, 7 Apr 2003 22:30:25 -0700 (PDT) Received: from ns0.binep.ac.ru (serv2.binep.ac.ru [193.233.44.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A26A43FBF for ; Mon, 7 Apr 2003 22:30:23 -0700 (PDT) (envelope-from goshik@binep.ac.ru) Received: from byfi (byfi.binep.ac.ru [193.233.44.234]) by ns0.binep.ac.ru (8.11.6/8.11.6) with SMTP id h385aJa64513; Tue, 8 Apr 2003 09:36:19 +0400 (MSD) (envelope-from goshik@binep.ac.ru) Message-ID: <032601c2fd8f$ed7650e0$ea2ce9c1@binep.ac.ru> From: "Igor B. Bykhalo" To: "Dave [Hawk-Systems]" References: Date: Tue, 8 Apr 2003 09:30:10 +0400 Organization: BINEPCP RAS MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 cc: freebsd-questions@freebsd.org Subject: Re: rebuild kernel to add vn pseudo-device for swap file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 05:30:25 -0000 From: "Dave [Hawk-Systems]" To: Sent: Monday, April 07, 2003 7:51 PM Subject: rebuild kernel to add vn pseudo-device for swap file > Has a server halt last night because it ran out of swap space. The server is > slated for upgrade this month anyway (currently on 4.3) so I don't want to worry > about reslicing a partition. Figured the easiest would be to add a swap file > for a temporary solution but the pseudo-device vn isn't in our customized > kernel. > > What would be the minimal process to rebuild the kernel with this device, or is > the whole blown out proceedure requried as when we trimmed the kernel in the > first place. If i'm not mistaken, 4.3 has modules. Maybe you just can kldload vn and don't bother with kernel rebuild? HTH, Igor