1999-01-31 00:31:03

by Alistair Riddell

[permalink] [raw]
Subject: Re: resizing swap partition? maybe off-topic

I believe Ted T'so (sp) wrote an ext2fs resizing program whicih is
available commerically as part of Partition Magic. AFAIK there is no
freely available program to do this.

You could simply create a swapfile on /dev/sda3 of the desired size and
use it concurrently with your swap partition (there is no problem with
having more tan one swap device active). As you say there is a slight
performance disadvantage with swap files over swap partitions but I doubt
if you would notice the difference.

On Wed, 27 Jan 1999, System Administrator wrote:

>
> ok, the last 2 partitions on my drive are this..
>
> Disk /dev/sda: 255 heads, 63 sectors, 1106 cylinders
> /dev/sda3 639 639 1101 3719047+ 83 Linux native
> /dev/sda4 1024 1102 1106 40162+ 82 Linux swap
>
> is there any way I can take a chunk off the end of sda3 and then
> remake my sda4 to be like 128MB? Without destroying the current info on
> sda3.
>
> someone suggested just making a swapFILE on sda3 instead with mkswap.
> would there be any performance difference? if not, could i tack my unused
> sda4 onto sda3 then or would i have to mount it under a specific
> directory to reuse it again?
>
> Thanx,
>
> -Tony
> .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
> Anthony J. Biacco Network Administrator/Engineer
> [email protected] Intergrafix Internet Services
>
> "Dream as if you'll live forever, live as if you'll die today"
> http://cygnus.ncohafmuta.com http://www.intergrafix.net
> .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> Please read the FAQ at http://www.tux.org/lkml/
>

--
Alistair Riddell - BOFH
IT Support Department, George Watson's College, Edinburgh
Tel: +44 131 447 7931 Ext 176 Fax: +44 131 452 8594
Microsoft - because god hates us