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

=20

   cd /dev=20
          sh ./MAKEDEV vn0=20
        =20

create a swapfile (/usr/swap0)=20

          dd if=3D/dev/zero of=3D/usr/swap0 bs=3D1024k count=3D64=20
        =20

set proper permissions on (/usr/swap0)=20

          chmod 0600 /usr/swap0=20
        =20

enable the swap file in /etc/rc.conf=20

          swapfile=3D"/usr/swap0"   # Set to name of swapfile if aux =
swapfile desired.=20
        =20




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>