[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

swap_device (swapctl)



Hello,

Just a quick question. How do I change the "swap_device" as seen
with the swapctl command?

francine:torh {124} swapctl -l
Device      512-blocks     Used    Avail Capacity  Priority
swap_device        128      104       24    81%    0
/dev/wd2b       524097        8   524089     0%    0
Total           524225      112   524113     0%

As you can see, my swap_device is all but useless, so I thought I'd
permanently change it to /dev/wd2b.

I've currently added this line to /etc/fstab, but if I could change
the swap_device altogether it would be neat.

/dev/wd2b none swap sw 0 0


Best regards,

Tor