home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!olivea!decwrl!deccrl!news.crl.dec.com!dbased.nuo.dec.com!nntpd.lkg.dec.com!nntpd2.cxo.dec.com!nabeth!alan
- From: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
- Newsgroups: comp.unix.ultrix
- Subject: Re: Swap area on Dec5000
- Message-ID: <1992Dec17.184603.19062@nntpd2.cxo.dec.com>
- Date: 17 Dec 92 18:46:03 GMT
- References: <16DEC199221211918@csa1.lbl.gov>
- Sender: alan@nabeth (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
- Reply-To: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
- Organization: Digital Equipment Corporation
- Lines: 36
-
-
- In article <16DEC199221211918@csa1.lbl.gov>, tonse@csa1.lbl.gov (Shaheen R Tonse (510)-486-6349) writes:
- >
- > [ Example partition tables deleted... ]
- >
- >A colleague tells me that it is useless to just make new b partitions and
- >expect the system to know that they are available for swap area, unless one
- >somehow re-compiles this information into the kernel. Is this true, and if so,
- >is it "easy" to do?
-
- It is both true and easy to do. Find the config line in the kernel
- configuration file (/sys/conf/mips/YOURHOSTNAME). Observe the "swap on ..."
- part of the line. This is what you modify to add new page/swap devices.
- For example, if I want to add rz8b and rz16b:
-
- config vmunix root on rz0b swap on rz0b and rz8b and rz16b dumps on rz0b
-
- Then use "doconfig -c YOURHOSTNAME" to build the new kernel. It will
- say where the new kernel is when done. Save the old one somewhere and
- copy the new to /vmunix and reboot. Then add lines to /etc/fstab to
- let swapon(8) know that it can use those devices. Such lines would
- look like:
-
- /dev/rz8b::sw:0:0:ufs::
- /dev/rz16b::sw:0:0:ufs::
-
- P.S. Recently, in answer to another page/swap space question, I had
- wondered at what would happen if the devices were different
- sizes. Earlier this week, I found it out; it uses the smallest
- size as the limit on the size of all the members. I haven't
- yet checked to see if the extra space, shows up as "wasted".
-
- > Regards, S.Tonse.
- >
- --
- Alan Rollow alan@nabeth.cxo.dec.com
-