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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to