home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!news.ans.net!cmcl2!prism.poly.edu!kapela
- From: kapela@prism.poly.edu (Theodore S. Kapela)
- Subject: Re: [386BSD] XFree memory requirements, swap space
- Message-ID: <1992Nov12.174732.14499@prism.poly.edu>
- Organization: Polytechnic University, New York
- References: <INKARI.92Nov7153016@lk-hp-12.hut.fi> <INKARI.92Nov10020725@lk-hp-12.hut.fi>
- Distribution: comp
- Date: Thu, 12 Nov 92 17:47:32 GMT
- Lines: 24
-
- 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.
-
- --
- ..............................................................................
- Theodore S. Kapela kapela@poly.edu
- Center for Applied Large-Scale Computing
- Polytechnic University
-