home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / bsd / 2659 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.3 KB

  1. Path: sparky!uunet!wupost!darwin.sura.net!jvnc.net!netnews.upenn.edu!msuinfo!uchinews!machine!chinet!randy
  2. From: randy@chinet.chi.il.us (Randy Suess)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: adding another swap partition
  5. Message-ID: <1992Jul22.142107.10000@chinet.chi.il.us>
  6. Date: 22 Jul 92 14:21:07 GMT
  7. References: <1992Jul21.120540.14336@chinet.chi.il.us> <14inptINN564@agate.berkeley.edu>
  8. Organization: Chinet - Public Access UNIX
  9. Lines: 21
  10.  
  11. In article <14inptINN564@agate.berkeley.edu> wjolitz@soda.berkeley.edu (William F. Jolitz) writes:
  12. >To add swap space, the device needs to be compiled into the kernel
  13. >in advance, even if you don't plan to use it. It reserves space in
  14. >it's swap space map for this (so eventually it can interleave them).
  15.  
  16.     Ok, that did it.  Thanks.  I am now able to have the swap
  17.     partition on the second drive added with swapon. (at least
  18.     the command completes with no errors.  Any way to actually
  19.     see if the system knows about the second swap partition?)
  20.  
  21.     in /sys/compile/YOUR_SYSTEM_NAME/swap386bsd.c,
  22.     duplicate the makedev(0,1) line in the swdevt struct
  23.     and change the 1 to a 9.
  24.  
  25.     Thanks, Bill.
  26.  
  27. -- 
  28.     I am created Shiva the Destroyer; Death, the shatterer of worlds!
  29.     Who is this dog meat who stands before me now?
  30.     That's the biz, sweetheart.
  31. Randy Suess                     randy@chinet.chi.il.us
  32.