home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / sys5 / r4 / 1102 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  1.4 KB

  1. Path: sparky!uunet!destroyer!mudos!mudos!not-for-mail
  2. From: mju@mudos.ann-arbor.mi.us (Marc Unangst)
  3. Newsgroups: comp.unix.sys5.r4
  4. Subject: Re: adding SWAP after the fact...
  5. Date: 1 Jan 1993 21:04:11 -0500
  6. Organization: The Programmers' Pit Stop, Ann Arbor MI
  7. Lines: 19
  8. Message-ID: <1i2t6rINNdkn@mudos.ann-arbor.mi.us>
  9. References: <C06q73.736@shyguy.lonestar.org>
  10. NNTP-Posting-Host: mudos.ann-arbor.mi.us
  11.  
  12. In article <C06q73.736@shyguy.lonestar.org> bmyers@shyguy.lonestar.org (bob myers) writes:
  13. >Anyway, how do i now add in a swap file to take care of the problem?
  14. >I know how to create one on a Sun Sparc running BSD (SunOS 4.1.2), but
  15. >it's not all that clear on how to do it here under a SVR4 system.
  16.  
  17. Use "dd if=/dev/zero of=/path/to/swapfile bs=10k size=xxx" with the
  18. appropriate size paramater to create the swap file.  Then, do "swap -a
  19. /path/to/swapfile 0 size_in_512_blocks" as root.
  20.  
  21. I'd be careful running without a swap partition, though.  When SVR4
  22. panics, it dumps a core image of the kernel into the swap partition.
  23. I'm not sure what happens without a swap partition, but it might well
  24. just overwrite whatever filesystem is there...
  25.  
  26. -- 
  27. Marc Unangst, N8VRH         | "Of course, in order to understand this you
  28. mju@mudos.ann-arbor.mi.us   |  have to remember that the nucleus of the atom
  29.                             |  is squishy."
  30.                             |    -W. Scheider, from a Physics lecture
  31.