From: Tom R. <tr...@ke...> - 2004-06-04 21:32:32
|
On Fri, Jun 04, 2004 at 08:50:37PM +0100, Adrian McMenamin wrote: > For future reference, and with thanks to Paul - this is quite easy with 2.6 > and a busy box setup configured to include losetup: > > dd if=/dev/zero of=swap.img bs=1k count=16384 ; losetup /dev/loop/0 swap.img ; > mkswap /dev/loop/0 ; swapon /dev/loop/0 > > Haven't tested it at all thoroughly though, but it seems to be running fine. This is something you can do on 2.4. But, AFAIK this can still fall down when memory pressure gets too bad. -- Tom Rini http://gate.crashing.org/~trini/ |