Re: Swap space priorities

Roy P. Turner (roypt@dopamine.com)
Sun, 12 Jan 1997 01:12:12 -0600


>I do swapon -a -p 1 in rc.S. I also tried "by the book" with no success.
>
> Cheers,
>
> Mike

Got the same results as with 'swapon -a -p 1'.

Adding Swap: 66020k swap-space (priority -1)
Adding Swap: 65988k swap-space (priority -2)

Messed around with swapon a little in the shell.

'swapoff -a ; swapon -p 1 /dev/hda2 ; swapon -p 1 /dev/hdc1' gave
Adding Swap: 66020k swap-space (priority 31896)
Adding Swap: 65988k swap-space (priority 31896)

Well now they're the same priority (yay), but didn't I request '-p 1'?

Thanks,
Roy