|
Debian Squeeze on Pogoplug Pink: Sudden Segmentation Faults April 02, 2013 03:51PM |
Registered: 13 years ago Posts: 23 |
|
Re: Debian Squeeze on Pogoplug Pink: Sudden Segmentation Faults April 27, 2013 06:12AM |
Registered: 12 years ago Posts: 15 |
# Disable all existing swap
swapoff -a
# Pre-allocate the space to use as the swap file. The example below
# creates a 256MB swap file on the mounted drive (count=256x1024).
dd if=/dev/zero of=/mnt/somedrive/swapfile bs=1024 count=262144
# If creating the file was successful, enable the swap file now.
if [ -f /media/seagate/swapfile ]; then
mkswap /mnt/somedrive/swapfile
swapon /mnt/somedrive/swapfile
fi
|
Re: Debian Squeeze on Pogoplug Pink: Sudden Segmentation Faults April 27, 2013 07:17AM |
Registered: 13 years ago Posts: 23 |