*BSD News Article 21948


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!ub!acsu.buffalo.edu!ubvms.cc.buffalo.edu!visnurpk
From: rpk@niagara.edu (Richard P. Kernin)
Subject: Overlap with "disklabel"
Message-ID: <CEGKH1.EpD@acsu.buffalo.edu>
News-Software: VAX/VMS VNEWS 1.41    
Keywords:  NetBSD
Sender: visnurpk@ubvms.cc.buffalo.edu (Richard P. Kernin)
Nntp-Posting-Host: ubvmsb.cc.buffalo.edu
Organization: University at Buffalo
Date: Wed, 6 Oct 1993 04:30:00 GMT
Lines: 57

Greetings,

Ran into an interesting problem (well, for me anyways) when setting up NetBSD
on one of out i486 PCs.  I followed the install scripts, and give the HD
settings as asked.  It came up with 236385 512 byte sectors, and then asked
for the partitions, etc.  I gave the whole disk to NetBSD, 210000 to the
root "a" partition, and the remaining 26385 to the "b" swap partition, hence
using the total 236385.  Later I looked at the disk using the "disklabel"
program, and kept getting the messages:

wd0c: overlaps open partition (a)
wd0c: overlaps open partition (b)

It looks like cyl. 823 is allocated for both root and swap, but I'm new
to BSD (but like it a lot ;) and cannot be sure.  Looking at the output
from a "disklabel /dev/rwd0c" can anybody give me any suggestions?

Thanks! for any/all input.

-----
# /dev/rwd0c:
type: ST506
disk: SHD-3062A
label: 
flags:
bytes/sector: 512
sectors/track: 17
tracks/cylinder: 15
sectors/cylinder: 255
cylinders: 927
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

4 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   210000        0    4.2BSD     1024  8192    16 	# (Cyl.    0 - 823*)
  b:    26385   210000      swap                    	# (Cyl.  823*- 926*)
  c:   236385        0    unused        0     0       	# (Cyl.    0 - 926)
  d:   236385        0    unused        0     0       	# (Cyl.    0 - 926)
-----

Take care,

-Rich

---------------------------------------------------------------------------
Richard P. Kernin
Niagara University - Administrative Computer Center

Niagara University:	rpk@niagara.edu
University of Buffalo:	visnurpk@ubvms.cc.buffalo.edu
---------------------------------------------------------------------------