*BSD News Article 13200


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!news.cs.indiana.edu!mikes@cs.indiana.edu
From: "Michael Squires" <mikes@cs.indiana.edu>
Subject: Info on writing disktab entries
Message-ID: <1993Mar23.090648.3203@news.cs.indiana.edu>
Summary: pointers to info, please
Keywords: disktab bad144
Organization: Indiana University Computer Science, Bloomington
Date: Tue, 23 Mar 1993 09:06:41 -0500
Lines: 27

I am going to rebuild my 386 BSD system that uses an old ESDI drive.  I
wrote a disktab entry for it that seems to work, but it was based on
some guesswork which I would like to clear up.

Pointers to info on writing disktab entries, especially on where to locate
the bad144 remapping area and how to determine the size would be appreciated.

My current disktab entry is

mini660|Miniscribe 660MB ESDI 1659 :\
	:dt=ESDI:ty=winchester:se#512:nt#15:ns#53:nc#1659:sf:  \
	:pa#22260:oa#0:ta=4.2BSD:ba#8192:fa#1024: \
	:pb#100170:ob#22260:tb=swap: \
	:pc#1318905:oc#0: \
	:pd#1318905:od#0: \
	:pg#585120:og#122430:tg=4.2BSD:bg#4096:fg#512:\
	:ph#599430:oh#707550:th=4.2BSD:bh#4096:fh#512:

a = root, b = swap, c = d = whole disk (no DOS), g = /usr/home, h = /usr.

a + b + g + h = 1306980 sectors; that leaves 15 cylinders between the
end of h and the end of the disk.

-- 

Mike Squires (mikes@cs.indiana.edu)     812 855 3974 (w) 812 333 6564 (h)
mikes@cs.indiana.edu          546 N Park Ridge Rd., Bloomington, IN 47408