The Following 2 Users Say Thank You to Bundyo For This Useful Post: | ||
|
2008-02-26
, 13:50
|
|
Posts: 356 |
Thanked: 27 times |
Joined on Jun 2006
@ Madrid, Spain
|
#2
|
|
2008-02-26
, 14:06
|
Posts: 98 |
Thanked: 3 times |
Joined on Nov 2007
@ Knightdale, NC
|
#3
|
|
2008-02-26
, 14:39
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#4
|
free
|
2008-02-26
, 14:59
|
Posts: 90 |
Thanked: 8 times |
Joined on Jan 2006
|
#5
|
Code:dd if=/dev/zero of=/media/mmc1/.swap bs=1024 count=256000 mkswap /media/mmc1/.swap swapon /media/mmc1/.swap
cat /proc/swaps
|
2008-02-26
, 15:21
|
|
Posts: 2,853 |
Thanked: 968 times |
Joined on Nov 2005
|
#6
|
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.
|
2008-02-26
, 16:08
|
Posts: 98 |
Thanked: 3 times |
Joined on Nov 2007
@ Knightdale, NC
|
#7
|
|
2008-02-26
, 16:26
|
|
Posts: 356 |
Thanked: 27 times |
Joined on Jun 2006
@ Madrid, Spain
|
#8
|
You can easy check if the swap resizes on the go by running an XTerm and run
Then swap the card and run free again. check if the swap sizes change. If they don't, that means the swap isn't remounted on the new card, try to restart and run free again.Code:free
|
2008-02-26
, 16:43
|
Posts: 79 |
Thanked: 21 times |
Joined on Sep 2007
|
#9
|
First create a swap file like you do it normally (from the Control Panel).
swapoff /media/mmc1/.swap
The Following User Says Thank You to tvogel For This Useful Post: | ||
|
2008-02-26
, 19:56
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#10
|
First create a swap file like you do it normally (from the Control Panel).
Then run a XTerm and do these commands:
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.