Re: Static Swap

Riley Williams (rhw@BigFoot.Com)
Tue, 13 Apr 1999 12:05:02 +0100 (GMT)


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/