*BSD News Article 54044


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!chi-news.cic.net!newsfeed.internetmci.com!EU.net!Germany.EU.net!zib-berlin.de!irz401!uriah.heep!not-for-mail
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Disktab Entry for Seagate 410800N
Date: 5 Nov 1995 22:23:22 +0100
Organization: Private FreeBSD site, Dresden.
Lines: 37
Message-ID: <47ja0a$j90@uriah.heep.sax.de>
References: <Pine.BSD.3.91.951101062846.10063A-100000@alpha.jpunix.com>
NNTP-Posting-Host: uriah.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

John A. Perry <perry@alpha.jpunix.com> wrote:
>	Does anyone out there know the correct disktab entry for a Seagate
>ST410800N/ND?

There's no such thing like *the* disktab entry for a particular disk.

Unfortunately, disktab entries do serve two purposes: they specify the
parameters of the disk, and the partitioning.

Since many people would like to have a disk partitioned in many ways,
there's no cook-recipe.

Actually, all you need is a single parameter: the total number of
blocks on your disk.  It is announced at boot time, so getting this
one is actually simple.  The followig example illustrates this by
usinge 80386 :) sectors as a `fake' value.

Enter what you want into your disktab entry, there are only very few
constraints for a SCSI disk:

st410800:Seagate ST410800N/ND:\
	:ty=winchester:dt=scsi:\
	:su#80386:\
	:oc#0:pc#80386:

assign the remaining partitions as you like, and then

	disklabel -r -w -B sdXXX st410800
	newfs -d0 /dev/rsdXXXa
	(newfs -d0 /dev/rsdXXXe ...)

We don't need no steenkin' geometries. :-)
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)