NAME
swap – memory usage statistics and swap file control |
SYNOPSIS
bind –a #¶ /dev /dev/swap |
DESCRIPTION
The swap device holds a text block giving memory usage statistics:
To turn on swapping, write to swap the textual file descriptor number of a file or device on which to swap.
Only the hostowner is allowed to enable swapping. The pages written
to the swap file are transparently encrypted by the kernel using
a random key. |
SEE ALSO
memory(8), swap(8). |
SOURCE
/sys/src/9/port/devswap.c |