Thread: Enabling swap
View Single Post
JeffElkins's Avatar
Posts: 273 | Thanked: 15 times | Joined on Oct 2007
#1
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.
__________________
My Mac Mini runs Kubuntu

Last edited by JeffElkins; 2007-12-23 at 16:37.