From: John Epstein (jepstei@afterlife.ncsc.mil)
Date: 02/15/93


From: jepstei@afterlife.ncsc.mil (John Epstein)
Subject: Re: bug: In kernel or in screen?
Date: Mon, 15 Feb 1993 13:17:08 GMT

In article <1993Feb15.081456.6941@klaava.Helsinki.FI> wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) writes:
>wolf@sol.cs.uni-sb.de (Wolfgang Huwig) writes:
>>This thread remembers me of a question i had some day:
>>if I needed e.g. 16MB of swap space sometimes but not all the time, it
>>would be great to be able to use this space as a tmp area. Would it be
>>possible to implement something like tmpfs under linux?
>
>You can add swap space on the fly, if you want. You can even use a
>swap file, and delete that file when you don't need the swap space.
>You can use several swap files at once, and add them one at a time as
>your free swap space diminishes. See the mkswap and swapon commands.
>
>However, you have to do this by hand or write a background demon to do
>it for you, it is not done automatically.
>
>--
>Lars.Wirzenius@helsinki.fi (finger wirzeniu@klaava.helsinki.fi)
> MS-DOS, you can't live with it, you can live without it.

Additional point, you can remove unneeded swap files with rm, do NOT
try to move them with mv to a different partition when a partition becomes
full. Fsck under Linux-0.99.2 did completely recover from the attempt
to move a swap file from partition to partition.

John