View Single Post
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#1
I only tested this in OS2008HE, since it is in dire need of it , but should be working in the other versions too. Of course i will not be held responsible if you send your device to hell. Didn't search the forums if this was posted before.

First create a swap file like you do it normally (from the Control Panel).

Then run a XTerm and do these commands:

Code:
swapoff /media/mmc1/.swap
dd if=/dev/zero of=/media/mmc1/.swap bs=1024 count=256000
mkswap /media/mmc1/.swap
swapon /media/mmc1/.swap
The second command is specifying the size of the swap, here it is close to 256MB, you can tweak it to your liking. This operation can also take very long time so be patient.

After restart it should remain the same size. It will reset probably if you mess again with the swap settings in Control Panel.

Last edited by Bundyo; 2008-02-26 at 19:59.
 

The Following 2 Users Say Thank You to Bundyo For This Useful Post: