Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2000 01:00:31 +0100
From:      "Micke" <micke@swebase.com>
To:        <hackers@freebsd.org>
Subject:   swap
Message-ID:  <000701bf9136$252e0e20$0201a0c0@micke>

next in thread | raw e-mail | index | archive | help

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 if aux swapfile desired. 
         




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?000701bf9136$252e0e20$0201a0c0>