View Single Post
Old 05-08-2004   #3
BGonaSTICK
Super Moderator
 
BGonaSTICK's Avatar
 
Join Date: 22-12-2003
Location: Brighton
Posts: 5125
Thanks: 2
Thanked 29 Times in 12 Posts

My System: Dreambox 7000, Skystar2

Bit reluctant to screw around with it until I have a better idea of what it's likely to do.

It's only available on the web interface, so might be a 'future feature' (I played around with the stock 1.05 image and it's web interface for a bit, and it was still 'under develpment' to say the least!).

Not at all sure that it would create a standard Linux swap partition.

Found this on the web :-

Setting up swap memory

You can set up a swap file like this (example is for 128MByte):

Create the file to use as swap:

dd if=/dev/zero of=/hdd/swap bs=16k count=8192

Now initialise it as a swapfile:

mkswap -v1 /hdd/swap

Edit /var/tuxbox/start_enigma, place this at the start, just below the '#!/bin/sh' line:

if [ -e /hdd/swap ]; then
/sbin/swapon /hdd/swap
fi

Your Dreambox will now use the swap file. Check to see if swap is in use after rebooting your box:

reboot

Or, if you prefer, use the reboot option on the remote control. Wait for the box to respond to telnet again, and ..

cat /proc/swaps

If something similar to this appears, you're good to go:

Filename Type Size Used Priority

/hdd/swap file 131064 388 -1
__________________



BGonaSTICK is offline   Reply With Quote