*BSD News Article 26970


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!pipex!warwick!zaphod.crihan.fr!jussieu.fr!univ-lyon1.fr!frmug.fr.net!renux.frmug.fr.net!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.frmug.fr.net (Ollivier Robert)
Newsgroups: comp.os.386bsd.development
Subject: Re: fdisk
Date: 4 Feb 1994 00:32:30 +0100
Organization: A Happy FreeBSD-current Usenet Site
Lines: 64
Message-ID: <2is1is$392@keltia.frmug.fr.net>
References: <0hI0M_u00WB7EC5GkR@andrew.cmu.edu> <2ipjg4$mcq@explorer.clark.net>
NNTP-Posting-Host: keltia.frmug.fr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <2ipjg4$mcq@explorer.clark.net>,
Eric S. Hvozda <ack@clark.net> wrote:
>reports BIOS geometery, not the native geometery.  *BSD doesn't like
>translated geometeries in general.

I have to disagree :-)

The probe code reports the real geometry  as you say  but if you have a DOS
partition on your  hard drive and  a SCSI disk, it  is better and easier to
use the translated one.

dmesg reports that :

FreeBSD 1.0.10 (KELTIA_PCC) #3: Mon Jan 31 21:26:47 MET 1994
  roberto@keltia:/spare/FreeBSD-current/src/sys/compile/KELTIA_PCC
CPU: i486DX (486-class CPU)
real mem  = 16773120
avail mem = 15257600
[...]
aha0 targ 0 lun 0: type 0(direct) fixed SCSI1
aha0 targ 0 lun 0: <MICROP  1624-07MZ1077801HZ2P>
sd0: 642MB (1316751 total sec), 2112 cyl, 7 head, 89 sec, bytes/sec 512
aha0 targ 1 lun 0: type 0(direct) fixed SCSI1
aha0 targ 1 lun 0: <CONNER  CP3200-200mb-3.53233>
sd1: 203MB (415872 total sec), 1368 cyl, 8 head, 38 sec, bytes/sec 512
[...]

However my disklabel is like that :

# /dev/rsd0d:
type: SCSI
disk: mp1624
label: 
flags:
bytes/sector: 512
sectors/track: 32
tracks/cylinder: 64
sectors/cylinder: 2048
cylinders: 641
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:    20480   309248    4.2BSD     1024  8192    16 	# (Cyl.  151 - 160)
  b:    65536   329728      swap                    	# (Cyl.  161 - 192)
  c:  1003520   309248    unused        0     0       	# (Cyl.  151 - 640)
  d:  1312768        0    unused        0     0       	# (Cyl.    0 - 640)
  e:    24576   395264    4.2BSD     1024  8192    16 	# (Cyl.  193 - 204)
  f:   122880   419840    4.2BSD     1024  8192    16 	# (Cyl.  205 - 264)
  g:   770048   542720    4.2BSD     1024  8192    16 	# (Cyl.  265 - 640)
  h:   307168       32     MSDOS                    	# (Cyl.    0*- 149*)

My first HD is  using the usual  Adaptec  translated parameters : 64  heads
with 32 sectors per tracks and so on. Works fine here.
-- 
Ollivier ROBERT                          Ollivier.Robert@keltia.frmug.fr.net
A FreeBSD & PERL addict...                    PGP 2.3a Public Key on request
Running FreeBSD-current and very happy to do so !