![]() |
Enabling swap
I've cloned my OS to /dev/mmcblk0p1 but am having some trouble initializing swap.
1. dd if=/dev/zero of=swapfile bs=1024 count=128000 2. mkswap -c -v1 swapfile 128000 3. swapon -a /swapfile But top shows zero swap being used. BTW, I'm using 'real' top, not busybox top. EDIT: Thinking this might be a busybox problem I recreated the swapfile on my pc and moved it to the nokia. Still no dice. |
Re: Enabling swap
I solved this problem. It seems related to the busybox swapon.
I compiled it for the tablet and it activates my swapfile w/o problem. Busybox (which I'm growing to hate) fails everytime. Which makes me wonder: if you're running from SD, why not replace busybox totally? |
Re: Enabling swap
what is the easiest way to do that Jeff? a deb to replace the shell and all the tools would be handy.
|
Re: Enabling swap
Quote:
Code:
apt-get install bash |
All times are GMT. The time now is 03:52. |
vBulletin® Version 3.8.8