rebuild kernel to add vn pseudo-device for swap file

Igor B. Bykhalo goshik at binep.ac.ru
Mon Apr 7 22:30:25 PDT 2003


From: "Dave [Hawk-Systems]" <dave at hawk-systems.com>
To: <freebsd-questions at freebsd.org>
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



More information about the freebsd-questions mailing list