lkml.org 
[lkml]   [1999]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Static Swap
Hi Steffen.

>> 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 .

> There's the possibility to use swap files instead of swap
> partitions. It has been there for ages now.

Nodz...

> The only problem is that you cannot free up swap space without
> re-booting (correct me if I'm wrong)

Depends how much of it you're using - you CAN free up swpa space
without rebooting, PROVIDING the swap file or partition you wish to
free up is SMALLER than your unused swap space at the time you wish to
free it up...

Given that condition, have a look at the `swapoff` command...

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

-
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    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site