[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: regarding swap space



I got the following error:

mkswap: warning: truncuating swap area to 2097144kB
mkswap: will not try to make swapdevice on '%s'

and I could not set the whole disk as a swap device. This is upon deleting 
all partitions in the device, and typing 'mkswap /dev/hdb'

Renai

On Monday 30 April 2001 14:29, you wrote:
> > it's a 4 gig drive
> >
> > do you really think having a 4 gig swap disk is worth it on a system with
> > 32 meg ram?
>
> No, but I don't think it would do any harm, *if* you're not going to use
> the rest of the disk anyway.
>
> > and do I have to format the whole drive as swap?
>
> Yes: mkswap -v1 /dev/hdx
>
> > Renai
>
> It's not that much of a performance gain.  Calculating partition boundaries
> is probably nothing more than 10 lines of code per access, but if you're
> going to make one big swap partition that fills up the whole disk, you
> might as well just make it a swap drive.  If not, don't bother.

----------------------------------------
Content-Type: application/pgp-signature; charset="us-ascii"; 
name="Attachment: 1"
Content-Transfer-Encoding: 7bit
Content-Description: 
----------------------------------------



Reply to: