Bekijk de volledige versie : Swap change priority

31-12-2007, 14:48
Hi, I have a 512MB USB connected to my 700gE to enable a swap file.
I have configured it and when I check cat /proc/swaps I get this result:

Filename Type Size Used Priority
/dev/md/0 partition 499992 1256 -1
/shares/FLASHDISK/swapfile file 478200 0 -2

My question is can I change/switch priority on the swap?
Also how can I affect the swapping, I have google-ed around and seen some command called swapctl, which isn't available for this platform(I think), there is also a command swappiness which also isn't implemented. Is there a way to do this?

Regards, Stefan