home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / sysv386 / 16572 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.2 KB  |  52 lines

  1. Newsgroups: comp.unix.sysv386
  2. Path: sparky!uunet!maxed!ed
  3. From: ed@maxed.amg.com (Ed Whittemore)
  4. Subject: Re: ISC 2.2 (Sys V Rel 3.2) Adding Swap?
  5. Message-ID: <Bxw6sn.Gn2@maxed.amg.com>
  6. Organization: American Micro Group, Ft. Lee  NJ
  7. References: <1dbrn2INN9ch@iskut.ucs.ubc.ca> <BxAp6y.4Mr@maxed.amg.com> <1992Nov11.235250.11604@wixer.cactus.org>
  8. Date: Wed, 18 Nov 1992 03:24:17 GMT
  9. Lines: 41
  10.  
  11. In article <1992Nov11.235250.11604@wixer.cactus.org> george@wixer.cactus.org (George Wenzel) writes:
  12. >In article <BxAp6y.4Mr@maxed.amg.com> ed@maxed.amg.com (Ed Whittemore) writes:
  13. >>In article <1dbrn2INN9ch@iskut.ucs.ubc.ca> stlouis@unixg.ubc.ca (Phill St. Louis) writes:
  14. >>>I have read the manual and the 386 FAQ, and my question was not answered, so...
  15. >>>
  16. >>>When adding a second disk to an ISC Sys V Rel. 3.2 machine, in the partitioning,
  17. >>>the screen comes up with a partition for swap.  Does this work for adding
  18. >>>extra swap?  It seems too simple to believe.  I have previously added disks
  19. >>>to a Sun and the documentation for SunOs states very clearly how to do it,
  20. >>>but the ISC docs are lacking in info about this stuff.
  21. >>>
  22. >>
  23. >>It works. When you're done, type `swap -l` and see what you get.
  24. >
  25. >Almost but not quite.  Read the man-page for swap.  Simply creating the
  26. >partition does not add it to the swap space... there is a swap command you
  27. >need to execute, and put in your rc3.d somewhere. 
  28. >
  29. >The command is "swap -a /dev/dsk/1s1 0 123456"... where /dev/dsk/1s1 is the
  30. >device, 0 is the starting block, and 123456 is the length.
  31. >
  32. >If you look in /etc/partitions for the swap areas, you can find the above
  33. >numbers for the device (the first digit is the drive number, than an s,
  34. >then one more digit indicating the partition number).
  35. >
  36. >Be sure to get the length correct... swap won't check, so you could trash
  37. >something.
  38. >
  39. Sorry, I didn't mean to imply you that you don't
  40. need to explicitly add the swap space--you do.
  41.  
  42. The best place for your swap file to automatically add swap partitions on
  43. boot is in /etc/rc.d, where the file named swap might have a line or
  44. 2 like:
  45.  
  46. swap -a /dev/dsk/1s2 0 22528
  47. swap -a /dev/dsk/c0t2s2 0 49152
  48.  
  49. -- 
  50. Ed Whittemore   uunet!maxed!ed   ed@maxed.amg.com
  51. American Micro Group, Inc.   201-944-3293
  52.