Subject: Re: Swap-First - Re: your install problem
To: John Little <gaijin@doemail.sbi.com>
From: Curt Sampson <curt@portal.ca>
List: port-sun3
Date: 05/15/1996 16:52:56
> So, Curt... define "didn't work" in the context of a swap-first disk.
> What happened?
I can't recall off-hand. I think I couldn't newfs the a partition.
I suppose I could try it again if anyone is really curious.
cjs
Curt Sampson curt@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc.
Vancouver, BC (604) 257-9400 De gustibus, aut bene aut nihil.
On Thu, 16 May 1996, John Little wrote:
> Date: Thu, 16 May 1996 08:16:53 +0900
> From: John Little <gaijin@doemail.sbi.com>
> To: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>, port-sun3@NetBSD.ORG,
> Curt Sampson <curt@portal.ca>
> Subject: Re: Swap-First - Re: your install problem
>
> %
> % > No, swap at the "beginning of the disk" will usually cause the disk
> % > label to be overwritten [...]
> %
> % That's what I thought too, when I first heard of this problem. But if
> % you go look at swfree(), in vm/vm_swap.c, you'll see that it explicitly
> % makes sure that it doesn't "use the first cluster of the device in case
> % it starts with a label or boot block".
> %
>
> Yup! You're absolutely right... and it's well commented too (said
> he, hoping that the heat from his red face wouldn't melt the
> keyboard too badly).
>
>
>
> ---------------------------------------------------------------------
> | John Little | Salomon Brothers Asia Limited |
> | gaijin@japan.sbi.com | Business Technology |
> | Japan 03-5574-5296 | 2-20. Akasaka 5-Chome, |
> | FAX 03-5574-5585 | Minato-ku, Tokyo 107, Japan |
> ---------------------------------------------------------------------
>
>