> I read somewhere that you can also create a swap file rather than a
partition and
> utilize that using swapon .
do this
dd if=/dev/zero of=/tmp/swap bs=1M count=64
(this creates a file filled with zeros [i think] at /tmp with name swap,
size 64 mb, you could change the path, filename, bs or count value
to suit your needs)
mkswap /tmp/swap
swapon /tmp/swap
then make sure swap is working
swapon -s
it should show
then add to the /etc/fstab
/tmp/swap swap swap defaults 0 0
then on rebooting the machine will load this also as swap.
before doing all these gimmo, try
swapon -s and see how much swap u are really using.
----------------------------------------------------------------------------
--------
Jiju Thomas Mathew
Linux registered user #154193 -- http://counter.li.org
--------------------------------------------------------------------------
LI is all for free speech, but this list was created for a purpose --
to help popularise Linux in India. If your messages are counterproductive
to that purpose, your privileges to submit messages can and will be revoked.