Re: ubuntu swap partition

From: Lance Levsen <lance_at_no.spam.please>
Date: Fri Dec 01 2006 - 19:19:31 CST

Gregory L. Magnusson wrote:
> I have been reading my dmesg output and there are no references to swap.
> Running 'top' confirms that I am using 0% total, 0% used, 0k free. I
> take it I can delete either swap partition? How though, do I start to
> use my swap space? This can't be good for my computers speed performance.
>

Make a partition, or use one of the ones you already have.

$> mkswap -v1 -c /dev/device
$> swapon /dev/device

You're now using swap.
Check /etc/fstab for something like this:
/dev/hda5 none swap sw 0 0

If not, add it. That way it should be brought back up on reboot.

Reboot to verify.

Cheers,
lance

-- 
Lance Levsen,
Catprint Computing
Tel:  (306) 493-2249
Cell: (306) 230-8783
Blog: http://www.catprint.ca/blog/
SaskBlogs: http://saskblogs.catprint.ca/

Received on Fri Dec 1 19:19:42 2006

This archive was generated by hypermail 2.1.8 : Fri Dec 01 2006 - 19:19:48 CST