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

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