home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / bsd / 8798 < prev    next >
Encoding:
Text File  |  1992-11-12  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.unix.bsd
  2. 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
  3. From: kapela@prism.poly.edu (Theodore S. Kapela)
  4. Subject: Re: [386BSD] XFree memory requirements, swap space
  5. Message-ID: <1992Nov12.174732.14499@prism.poly.edu>
  6. Organization: Polytechnic University, New York
  7. References: <INKARI.92Nov7153016@lk-hp-12.hut.fi> <INKARI.92Nov10020725@lk-hp-12.hut.fi>
  8. Distribution: comp
  9. Date: Thu, 12 Nov 92 17:47:32 GMT
  10. Lines: 24
  11.  
  12. In article <INKARI.92Nov10020725@lk-hp-12.hut.fi> inkari@snakemail.hut.fi (Juha Inkari) writes:
  13. >
  14. >Adding swap was also a piece of cake. The install program reserves a
  15. >swap partition but it was not marked as one. So I did a disklabel -e
  16. >/dev/rwd0a and changed /dev/wd0b partition to type swap and added a
  17. >line /dev/wd0b swap swap sw 0 0 to /etc/fstab.
  18. >
  19.  
  20. The entry in fstab isn't needed.  The GENERIC kernel in the distribution
  21. looks for swap on wd0 and as0.  Look for the line in the config file 
  22. (in /sys/i386/conf, if I remember correctly) that starts "root on . . ."
  23. The "swap on wd0 and as0" says that the kernel should look at the disklabels
  24. on wd0 and as0 for partitions marked as swap, and if it finds them, to use
  25. them.
  26.  
  27. You only need to add entries to /etc/fstab when swap space is added on
  28. other devices.  You don't need to rebuild the kernel just to add
  29. swap space.
  30.  
  31. -- 
  32. ..............................................................................
  33.  Theodore S. Kapela                kapela@poly.edu
  34.  Center for Applied Large-Scale Computing    
  35.  Polytechnic University
  36.