Swap

From TechPubs Wiki

Revision as of 19:07, 5 February 2025 by Raion (talk | contribs) (Created page with "Just like on some other UNIX systems, IRIX can use swap. This article explains how to enable swapfiles for more swap. === General Procedure === <pre> # mkfile -v 2048m /usr/swap /usr/swap 2147483648 bytes # swap -a /usr/swap </pre>This will enable the file immediately. To ensure it works next boot add the following line to /etc/fstab: <code>/usr/swap swap swap pri=3 0 0</code>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Just like on some other UNIX systems, IRIX can use swap. This article explains how to enable swapfiles for more swap.

General Procedure

# mkfile -v 2048m /usr/swap

/usr/swap 2147483648 bytes

# swap -a /usr/swap

This will enable the file immediately. To ensure it works next boot add the following line to /etc/fstab:

/usr/swap swap swap pri=3 0 0