Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!cserve.cs.adfa.oz.au!wkt From: wkt@cserve.cs.adfa.oz.au (Warren Toomey) Subject: Re: swapinfo Message-ID: <1993Aug30.042814.16978@sserve.cc.adfa.oz.au> Sender: news@sserve.cc.adfa.oz.au Organization: Australian Defence Force Academy References: <CCDKzy.Gn@info.bris.ac.uk> Date: Mon, 30 Aug 1993 04:28:14 GMT In article <CCDKzy.Gn@info.bris.ac.uk>, hedley@kipa (Deadly Hedley) writes: |> Anyone know where I can get swapinfo from? I have checked various source |> trees and couldn't find it... Try minnie.cs.adfa.oz.au: % telnet minnie.cs.adfa.oz.au Welcome to the 386bsd subject line browser. All the articles you find are available for anonymous ftp. You can also read articles now! If you have any problems, email wkt@csadfa.cs.adfa.oz.au bsdnews> grep swapinfo|Swapinfo 19151) Swapinfo ~ 20 (Alex Tang) 19177) Swapinfo ~ 27 (Shawn M Carey) 19155) Swapinfo ~ 30 (Guido van Rooij) 19219) Swapinfo ~ 33 (Jan-Oliver Neumann) 12302) [source] swapinfo -- swap information reporter ~ 430 (Kevin Lahey) You can either read 12302, or ftp it from minnie :-) Cheers, Warren #! rnews 2758 sserve.cc.adfa.oz.au Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!noc.near.net!das-news.harvard.edu!husc-news.harvard.edu!husc.harvard.edu!haley Newsgroups: comp.os.386bsd.questions Subject: Re: Can I put the swap partition on a second HD? Message-ID: <haley.746572515@husc.harvard.edu> From: haley@husc8.harvard.edu (Elizabeth Haley) Date: 28 Aug 93 21:15:15 GMT References: <25o1n4$gmr@genesis.ait.psu.edu> Nntp-Posting-Host: husc8.harvard.edu Lines: 53 D. Jay Newman <dn5@psu.edu> writes: >I was thinking that it might make more sense to put the swap partition on >a second hard-disk, for either SCSI or IDE. Is this possible? Yep it sure is, and exactly how is detailed in the FAQ in part 2. However, recovering that partition on your first drive might be fraught with peril (or might not) as it will require changing your existing (and therefore hopefully *working*) disklabel. I would suggest something like this: 1. Prepare your second drive. remember that partition "b" is your swap area. It can be the whole disk if you desire, just be sure and include c & d as well, cause I'm pretty sure programs and the kernel depend on that information being there. See the FAQ for details on that. 2. Make a new kernel, with both your old swap *and* the new one enabled. Install the new kernel (saving the old one, of course) and reboot. Login and do something that should guarantee actually USING the second swap area. I suggest perhaps a bunch of emacs sessions, or whatever else that should load the memory. If all appears wunnerful, then... 3. Make another new kernel with the first swap disabled. 4. Edit the disklabel for your primary drive. (I'll add at this point that I have no idea if the system will let you, you might have to boot up the system with a Fix-It disk, therefore adding to the suspense). Eliminate the "b" partition, and rename it to something else e or f, whatevers next and not "b" NOTE: DON"T CHANGE THE NUMBERS! This could lead to the sudden and sadly explicable demise of your operating system, with the added bonus of several hours of boring reinstallation, to find yourself back where you were before you started this saga. Newfs your new partition, and add it to the mount table. You could even do what one friend suggested, leave it off of the mount tables, and mount it inside /root manually, for a bit of security by obscurity. Have fun, and remember to keep your prayer ribbon-connector handy for the rebuilds... -- If you love your fun... |[{(<=--=>)}]|David Charles Todd, tHE mAN wITH tHREE fIRST nAMES|[{(<=--=>)}]| |||||||||||||||||||||||||hacksaw@headcheese.daa.uc.edu|||||||||||||||||||||||| ...Die for it!