Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!uunet!mcsun!sunic!corax.udac.uu.se!astro.uu.se!goran From: goran@astro.uu.se (Goran Hammarback) Newsgroups: comp.unix.bsd Subject: Re: swap space/partition (was Re: Questions about 386BSD) Date: 25 Sep 1992 12:16:10 GMT Organization: Uppsala University Lines: 44 Sender: goran@solaris.astro.uu.se (Goran Hammarback) Distribution: world Message-ID: <19uvuaINNsk@corax.udac.uu.se> References: <1992Sep22.180926.13496@minyos.xx.rmit.oz.au> <1992Sep22.222426.24672@minyos.xx.rmit.oz.au> <1992Sep25.062432.20366@msuinfo.cl.msu.edu> NNTP-Posting-Host: solaris.astro.uu.se In article <1992Sep25.062432.20366@msuinfo.cl.msu.edu>, paoletti@cps.msu.edu (David R. Paoletti) writes: |> In article <1992Sep22.222426.24672@minyos.xx.rmit.oz.au> s902113@minyos.xx.rmit.oz.au (Luke Mewburn) writes: |> >rcskb@minyos.xx.rmit.oz.au (Kendall Bennett) writes: |> > |> >> 1. Swap Space. Does 386BSD automatically set up swap space for you when |> >>you install it, or do you need to install the swap space yourself? |> >>Presently I only have 1 partition on my 120M hard disk, and the swapon -a |> >>command is in the /etc/rc file. From what I gather swapping will not |> >>be active, since there is no swap partition - or does 386BSD swap to a |> >>swap file in the root partition? Can it swap to a swap file or only to |> >>a partition? |> > |> >Only to a partition... |> |> How do you actually _get_ swap space installed? When doing the |> installation, it says 'xxxMB free' and asks how many to use for 386BSD. |> Should I tell it 10 less if I want 10MB of swap space? I've saved |> postings about changing the swap space, but was unable to understand them. |> |> Thanks, |> Dave Paoletti :) |> Do disklabel -w wd0 (or as0 if you have a SCSI disk), and you will see that the install command has made a 5 MB partition which is used for swap. If you need more swap space than this, you have to increase the swap partition using the disklabel program, but then you have to manually newfs your decreased a partition and manually reinstall 386BSD. The method to do this has been posted several times on the net and is in the FAQ on agate.berkeley.edu. If you can afford it, you can get an extra disk, and make an extra swap partition on this. Not only will you get more swap, but also more diskspace 8-). -- Goran ------------------------------+--------------------------------- Goran Hammarback | goran@astro.uu.se Astronomiska Observatoriet | Uppsala Universitet | S-751 20 SWEDEN | ------------------------------+---------------------------------