*BSD News Article 12848


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!dog.ee.lbl.gov!network.ucsd.edu!gulfaero.com!ux1.cso.uiuc.edu!winzeler
From: lwinzele@uiuc.edu (Loren Winzeler)
Subject: mounting a partition on a 2nd IDE drive
Message-ID: <C3r336.9JK@ux1.cso.uiuc.edu>
Summary: Lot's o questions???
Keywords: disk IDE 386bsd swap
Sender: winzeler@ux1.cso.uiuc.edu (Loren Winzeler )
Reply-To: lwinzeler@uiuc.edu (Loren Winzeler)
Organization: University of Illinois at Urbana
Date: Fri, 12 Mar 1993 00:37:39 GMT
Lines: 61

Hello,
This post consists of two questions (parts):
 
1) I am currently using running 386bsd off a 210 MB IDE drive
(a western digital ac2200) and have given 120 mb to 386bsd.
 
Since then I have outgrown that space and would like to take
some space from my second IDE drive (an 80 mb western digital),
which is currently formatted for DOS, and mount it under 
386bsd.
 
I understand the process involved and have extracted information
from previous posts on the topic... but I am still confused
on how to make a disktab entry for the partition on the second
drive.  It is possible to disklabel/newfs only half of my 
second IDE drive?
 
The track/cyl/sector is the same for the whole drive and can be 
taken from fdisk (by creating and extended dos partition and 
taking the info from there)... is this correct?
 
How does diskpart know to look at whichever partition of my 
drive?  That is, I do not want to wipe out my resized DOS 
partition.
                                    
Which shutdown/shutdown -h/shutdown -r will properly save my 
new partition info?
 
2) I would like to put a swap partition on this second drive
for better performance (that is, separate it from the root fs).
 
Does the generic installation from the Tiny BSD floppy even
create a swap partition?  I nothing except the root in my 
/etc/fstab.
 
Will I need two partitions, one storage and one swap, on my 
second drive?  Or does the reconfiguring the kernel take care
of it?  Can I just change the swap parameter to something 
like...
 
        swap   wd1a     0   xxxxx              xxxxx
               (device      (amt for storage)  (amt for swap)
                of 2nd disk)            
 
I'm a little in the dark on how the swap partitions work under
386bsd.  Could someone shed some light?
 
Lastly, what parts of the src01 distribution (directory of 
tree) do I need to reconfig the kernel?  Is there an ftp 
site that keeps prepatched source so someone just starting to 
rebuild their kernels do not have to start from scratch?
 
Thanks for any response,
 
Loren


-- 
Reach me at:
CCSO University of Illinois		Wolfram Research, Inc.
winzeler@ux1.cso.uiuc.edu		winzeler@wri.com