*BSD News Article 35882


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!spool.mu.edu!howland.reston.ans.net!europa.eng.gtefsd.com!sundog.tiac.net!spoon.beta.com!mcgovern
From: mcgovern@spoon.beta.com (Brian McGovern)
Newsgroups: comp.os.386bsd.questions
Subject: disktab problems....
Date: 16 Sep 1994 18:19:49 GMT
Organization: B.E.T.A. Mountain, Framingham, MA
Lines: 36
Message-ID: <35cnk5$n8b@sundog.tiac.net>
NNTP-Posting-Host: spoon.beta.com


I feel really stupid for posting this, as I feel that I'm just asking someone
to double-check my math for me, but I'm having problems...

I've created a disktab for an IDE drive that I have thats 901cyl, 5 heads, 
53 sec. I was a small ~70000 sector swap partition, and the rest to be
a mountable user partion. The disktab entry that I came up with was:

QUANTUM_LPS:\
	:dt=ST506:ty=winchester:
	:nc#901:ns#53:nt#5:\
	:se#512:\
	:pa#163505:oa#265:ta=4.2BSD:ba#4096:fa#512:\
	:pb#74995:ob#163770:tb=swap:\
	:pc#238500:oc#265:\
	:pd#238765:od#0:

However, when I go to label the disk, it gives me an Unknown Error: 0 (or
similar message), and reboots the machine. 

The question is several-fold:

1.) Is my disktab entry correct for a drive with the above dimensions? I
think I followed the format correctly, and I used my 500MB drive as a working
example...

2.) Do I need to fdisk, or any other bizarre thing before I disklabel? I don't
remember having to the in the past.

Thanks for your time. Any silly mistakes on my part is merely the result of not
having a clue about what I'm doing, and making a valiant attept to get the 
right end of the man page up.

Thanks.
	-Brian