Thread: help with swap
View Single Post
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#2
Did you first do 'mkswap' on the partition?

BTW, from what others have said here, it doesn't make a difference anymore if you use a swap partition or a file (particularly with an SD card I should think), because the kernel will initially translate the file to the physical layer so that it sees the same as what it sees in a partition.

BTW, swapon -a will only add swap space which has been defined in /etc/fstab.
swapon /dev/name-of-swap-partition will activate it directly (and it'll last until boot)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post: