Received: (from major@localhost)
	by minnie.cs.adfa.oz.au (8.8.8/8.8.8) id SAA21206
	for pups-liszt; Sun, 10 May 1998 18:05:09 +1000 (EST)
Received: from henry.cs.adfa.oz.au (henry.cs.adfa.oz.au [131.236.21.158])
	by minnie.cs.adfa.oz.au (8.8.8/8.8.8) with ESMTP id SAA21201
	for <pups@minnie.cs.adfa.oz.au>; Sun, 10 May 1998 18:05:06 +1000 (EST)
Received: (from wkt@localhost) by henry.cs.adfa.oz.au (8.7.5/8.7.3) id SAA02363; Sun, 10 May 1998 18:26:23 +1000 (EST)
From: Warren Toomey <wkt@henry.cs.adfa.oz.au>
Message-Id: <199805100826.SAA02363@henry.cs.adfa.oz.au>
Subject: Re: mkfs on an RL02
To: pete@dunnington.u-net.com
Date: Sun, 10 May 1998 18:26:23 +1000 (EST)
Cc: pups@minnie.cs.adfa.oz.au
In-Reply-To: <9805092143.ZM1440@indy.dunnington.york.ac.uk> from Pete Turnbull at "May 9, 98 08:43:26 pm"
Reply-To: wkt@cs.adfa.oz.au
X-Mailer: ELM [version 2.4ME+ PL22 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: owner-pups@minnie.cs.adfa.oz.au
Precedence: bulk

In article by Pete Turnbull:
> I'm looking for some advice...
> 
> For the first time in umpteen years, I need to make a bootable 7th Edition
> system disk on an RL02 that previously had some other O/S on it.  This disk
> has to have the swap space, as well.  The machine it will be used on has
> 256K bytes RAM.
> 
> How many blocks should I leave for swap?  Or, to put it another way, what
> magic number pair would people suggest I put in the prototype file for the
> number of blocks and number of inodes?

The best & only answer here is to consult to xxconf file used to generate
the 7th Edition kernel, as this will tell you how much swap to reserve.

Vanilla V7 didn't come with RL02 support, so all I can give you are the
parameters used for the RL02 images I have here with V7:

rl
tm
root rl 0
swap rl 0
swplo 18000
nswap 2480

In other words, the filesystem should be no bigger than 18,000 blocks.
The mkfs manual says:

       If  the  prototype file cannot be opened and its name con-
       sists of a string of digits, mkfs  builds  a  file  system
       with a single empty directory on it.  The size of the file
       system is the value of proto interpreted as a decimal num-
       ber.  The number of i-nodes is calculated as a function of
       the filsystem size.  The boot program is  left  uninitial-
       ized.

Distribution V7 had roughly 2,600 files & directories. If I had to
set a value, I'd choose 5,000 or so.

Hope this helps,
	Warren

