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


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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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