Re: Static Swap

Arvind Sankar (arvinds@mit.edu)
Tue, 13 Apr 1999 08:27:24 -0400


On Tue, Apr 13, 1999 at 01:57:43AM +0530, pramod@anaconda.ee.iitm.ernet.in wrote:
> Hi everyone ,
> I wanted to know wether linux can instead of having a static
> size swap have a dynamic size swap . That is if there is disk space
> available that is there is no valid data , that could be used for swap .
> Static swap also has a problem that when I increase my ram the swap also
> has to be increased for faster performance but cant be done because the
> partitions are all made . I want to know wether any attempts are being
> made along this front . I am an enthusiastic programmer and would like to
> contribute for the above . Please mail me as I am not a member of this
> group .
>

# dd if=/dev/zero of=/var/swap bs=1k count=131072
# swapon /var/swap

gives you 128M more swap.

-- arvind

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/