[SOLVED] Automatically Assign Swap File At Startup


Arf, I'm really cursed :D

so the file is created on my SD, I used these commands :

Code:
mkswap /media/SDCARD/swap

It "seems" to work, so I do :

Code:
swapon /media/SDCARD/swap

I have : swapon failed : operation not permitted.


Before doing this I modified my fstab, with no results.
 
I tried it but like this :

Code:
sudo swapon


In fact I had to write

Code:
sudo swapon /media/SDCARD/swap

It was "easy" in fact :p

Thanks again for your help and your fast replies ! :D
 
Back
Top