lkml.org 
[lkml]   [1999]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Static Swap
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.345 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site