Use a File as SWAP Space

# Create a 10M File
dd if=/dev/urandom of=./xxx bs=1M count=10

# Make a swap on this file
/sbin/mkswap ./xxx

# use this swap
sudo swapon xxx

# show swap
cat /proc/swaps

Debienna: UseFileAsSwap (last edited 2010-01-28 21:13:24 by SebastianBachmann)