home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!know!hri.com!spool.mu.edu!agate!ames!data.nas.nasa.gov!taligent!apple!voder!nsc!amdahl!JUTS!phoenix!gpw10
- From: gpw10@phoenixcd.amdahl.com (Gary Ward)
- Newsgroups: comp.unix.bsd
- Subject: Re: [386BSD] XFree memory requirements, swap space
- Message-ID: <f0R7020Q2aE401@JUTS.ccc.amdahl.com>
- Date: 13 Nov 92 01:06:58 GMT
- References: <INKARI.92Nov7153016@lk-hp-12.hut.fi> <INKARI.92Nov10020725@lk-hp-12.hut.fi> <1992Nov12.174732.14499@prism.poly.edu>
- Sender: netnews@ccc.amdahl.com
- Distribution: comp
- Organization: Amdahl Corporation, Sunnyvale CA
- Lines: 47
-
- In article <1992Nov12.174732.14499@prism.poly.edu>,
- kapela@prism.poly.edu (Theodore S. Kapela) writes:
- > In article <INKARI.92Nov10020725@lk-hp-12.hut.fi>
- > inkari@snakemail.hut.fi (Juha Inkari) writes:
- > >
- > >Adding swap was also a piece of cake. The install program reserves a
- > >swap partition but it was not marked as one. So I did a disklabel -e
- > >/dev/rwd0a and changed /dev/wd0b partition to type swap and added a
- > >line /dev/wd0b swap swap sw 0 0 to /etc/fstab.
- > >
- >
- > The entry in fstab isn't needed. The GENERIC kernel in the
- > distribution
- > looks for swap on wd0 and as0. Look for the line in the config file
- > (in /sys/i386/conf, if I remember correctly) that starts "root on . .
- > ."
- > The "swap on wd0 and as0" says that the kernel should look at the
- > disklabels
- > on wd0 and as0 for partitions marked as swap, and if it finds them, to
- > use
- > them.
- >
- > You only need to add entries to /etc/fstab when swap space is added
- > on
- > other devices. You don't need to rebuild the kernel just to add
- > swap space.
-
- This is not completely true. You do have to update the kernel if you
- are adding swap on a new device, i.e. a second disk. This is in the
- FAQ.
-
- >
- > --
- >
- ........................................................................
- .......
- > Theodore S. Kapela kapela@poly.edu
- > Center for Applied Large-Scale Computing
- > Polytechnic University
-
- --
- +------------------------+---------------------------+
- | Gary Ward | Amdahl Corporation |
- | gpw10@cd.amdahl.com | 1250 East Arques Avenue |
- | Phone : (408)746-8865 | P.O. Box 3470 M/S 142 |
- | | Sunnyvale, CA 94088-3470 |
- +------------------------+---------------------------+
-