*BSD News Article 28665


Return to BSD News archive

Xref: sserve comp.unix.bsd:13639 comp.os.linux:57415
Path: sserve!newshost.anu.edu.au!munnari.oz.au!ihnp4.ucsd.edu!mvb.saic.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!ponderous.cc.iastate.edu!michaelv
From: michaelv@iastate.edu (Michael L. VanLoon)
Newsgroups: comp.unix.bsd,comp.os.linux
Subject: Re: Swap partition size?
Date: 24 Mar 94 20:12:22 GMT
Organization: Iowa State University, Ames, Iowa
Lines: 21
Message-ID: <michaelv.764539942@ponderous.cc.iastate.edu>
References: <1994Mar8.141900.2906@wubios.wustl.edu> <2lk1jm$aor@simpson-01.cs.strath.ac.uk> <CMK8E9.EM5@eskimo.com> <1994Mar17.032150.2147@dde.dk> <1994Mar24.161735.2609@physchem.ox.ac.uk>
NNTP-Posting-Host: ponderous.cc.iastate.edu

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.

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

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Michael L. VanLoon                 Iowa State University Computation Center
    michaelv@iastate.edu                    Project Vincent Systems Staff
  Free your mind and your machine -- NetBSD free Un*x for PC/Mac/Amiga/etc.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -