*BSD News Article 28629


Return to BSD News archive

Xref: sserve comp.unix.bsd:13634 comp.os.linux:57413
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!ihnp4.ucsd.edu!library.ucla.edu!csulb.edu!nic-nac.CSU.net!charnel.net.csuchico.edu!charnel!yeshua.marcam.com!MathWorks.Com!solaris.cc.vt.edu!cray-ymp.acm.stuorg.vt.edu!briggs
From: briggs@cray-ymp.acm.stuorg.vt.edu (Allen Briggs)
Newsgroups: comp.unix.bsd,comp.os.linux
Subject: Re: Swap partition size?
Date: 24 Mar 1994 20:41:11 GMT
Organization: ACM Student Machine
Lines: 26
Message-ID: <2mstt7$p1a@solaris.cc.vt.edu>
References: <1994Mar8.141900.2906@wubios.wustl.edu> <1994Mar17.032150.2147@dde.dk> <1994Mar24.161735.2609@physchem.ox.ac.uk> <michaelv.764539942@ponderous.cc.iastate.edu>
NNTP-Posting-Host: cray-ymp.acm.stuorg.vt.edu

In article <michaelv.764539942@ponderous.cc.iastate.edu>,
Michael L. VanLoon <michaelv@iastate.edu> wrote:
>In <1994Mar24.161735.2609@physchem.ox.ac.uk>,
>mark@physchem.ox.ac.uk (Mark Jackson) writes:
>>I just created a 32MB swap partition, I did mkswap and it reported 32MB,
>
>Are you sure you didn't just create a 32768 *block* partition?
>Blocksize is (generally) 512 bytes, or 1/2 a kilobyte.  32768 blocks
>would equal 16384 megabytes.
		   ^ k or meg ?  ;-)
>>but when I did swapon, it only reported 16380k.  Is this talking about WORDS
>>or BYTES?                                    ^k or meg?
>
>A 16k or 32k swap partition would be worthless. ;-)

16k would be useless, but 16380k is about 16MB.
In general, though, I think you're right.  It looks like Mark created a
32kilo-block (sic), or 16MB partition.

-allen

--
Allen Briggs         Find the cost of freedom / Buried in the ground
- end                Mother Earth will swallow you / Lay your body down
      killing -    
allen.briggs@vt.edu          ***** MacBSD == NetBSD/Mac *****