[BusyBox] question on swapon usage

Joel Coltoff joel at wmi.com
Wed Aug 14 05:36:03 UTC 2002


Hi,

Kernel: 2.4.18
Busybox: v0.61.pre (2002.08.08-11:40+0000) using uClibc 0.9.12

I need to setup some swap space and can't get it to work. I'm sure
the problem is in my incantation. What am I doing wrong. My root
is an NFS mounted root.

	bebop> cd /
	bebop> dd if=/dev/zero bs=1024 count=32768 of=swap.eval
	bebop> mkswap swap.eval 32768
	bebop> swapon swap.eval
	rw_swap_page: bad swap file
	Unable to find swap-space signature

If I look at swap.eval with `od' on the host it sure looks like mkswap
put something in there.

What I do I need to change about how I've done this?

Thanks.

-- 
Joel Coltoff

I'd explain it, but there's a lot of math. -- Calvin




More information about the busybox mailing list