Sumary local swap on client under SunOS3.5

Hey folks, I've had enough!!!!

Thanks for your answers.

It seems like a lot of people out there don't know what

SunOS 3.5 is so they suggested to solve this with "swapon"

and editing fstab and so on. I'm not trying to solve a

SunOS 4.x problem!

One guy did know what I was talking about. He said

that it wasn't possible to swap on a local disk without

mounting root from the same under 3.5 :

----- Begin Included Message -----

>From fed!m1rcd00@uunet.UU.NET Tue Apr 9 18:28:51 1991

To: Sven Ole Skrivervik <uunet!sdata.no!svenole@uunet.UU.NET>

Subject: Re: local swap on 3/50 client under SunOS3.5

> Is it possible to use a local disk as a swap device

> on a 3/50 that boots off a 3/60 under SunOS 3.5?

Sven,

Not without putting the root partition on the local disk also. In SunOS

3.5, a machine finds out where to get its vmunix from the eeprom. It

then loads vmunix, goes through some testing stuff, and then looks

around to find its real root partition. The problem is that at that

point, the logic is pretty fixed: if there's a local disk, it assumes

that the root partition is stored there. This was a giant pain that

was fixed in SunOS 4.0. But root doesn't take up that much space,

so I'd suggest doing it anyway. We set up 91MB "paging packs" that

have a 16MB root, 50 MB swap, and 16 MB /tmp. These work out

pretty well.

Bob Drzyzgula

Federal Reserve Board

rcd@fed.frb.gov

----- End Included Message -----

Before I sendt the question I tested the obvious method to do this

(editing the config line in the kernel configuration) and it failed.

So I'm going to place the root filesystem AND swap on the disk.

Thanks.

- Sven

[2281 byte] By [CodeProf.com] at [2007-12-25 7:21:00]