Date: Sun, 19 Mar 2000 11:24:38 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Micke <micke@swebase.com> Cc: hackers@FreeBSD.ORG Subject: Re: swap Message-ID: <20000319112438.A55921@hades.hell.gr> In-Reply-To: <000701bf9136$252e0e20$0201a0c0@micke>; from micke@swebase.com on Sun, Mar 19, 2000 at 01:00:31AM %2B0100 References: <000701bf9136$252e0e20$0201a0c0@micke>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 19, 2000 at 01:00:31AM +0100, Micke wrote: > How do i check the status of my new swap it isn't showing in top or in > pstat -s > > I have done the following > > cd /dev sh ./MAKEDEV vn0 > > create a swapfile (/usr/swap0) > > dd if=/dev/zero of=/usr/swap0 bs=1024k count=64 > > set proper permissions on (/usr/swap0) > > chmod 0600 /usr/swap0 > > enable the swap file in /etc/rc.conf > > swapfile="/usr/swap0" # Set to name of swapfile ... Uhm, you should have vnodes enabled into your kernel, because the commands executed by the /etc/rc script, when swapfile is set to something not null, are: vnconfig /dev/vn0b ${swapfile} && swapon /dev/vn0b I'll have a look at the Handbook and see if it mentions vnconfig at the proper section, and let the -doc guys know about it if it's necessary. - Giorgos Keramidas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000319112438.A55921>