Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 1995 16:23:59 -0800 (PST)
From:      Poul-Henning Kamp <phk@ref.tfs.com>
To:        terry@cs.weber.edu (Terry Lambert)
Cc:        rgrimes@gndrsh.aac.dev.com, current@FreeBSD.org
Subject:   Re: newfs: sectors per cylinder (4096) disagrees with disk label (36)
Message-ID:  <199503160023.QAA08809@ref.tfs.com>
In-Reply-To: <9503160001.AA15691@cs.weber.edu> from "Terry Lambert" at Mar 15, 95 05:01:24 pm

next in thread | previous in thread | raw e-mail | index | archive | help

Terry, you are mostly right.

I view it this way:

1)  The device-driver may use a geometry(A) to access the disk.

2)  The UFS may be created with a geometry(B) != geometry(A)

3)  The device driver may need to read the geometry(A) from the disklabel,
    because the BIOS lies and the drive is too dumb to answer the question.
    The disklabel is the only place this can come from.

>From these three I determine that there is only a weak, if any, relation
between the geometry(disklabel) and geometry(filesystem).

I don't see any point in having the device-drivers even know about geometry,
considering that LFS for instance doesn't care a hoot, and I will strongly
work to get the ties already in place broken.

Therefore I proposed the changes already listed, they should take care
of any case I can see on the horizon.

-- 
Poul-Henning Kamp <phk@login.dknet.dk> -- TRW Financial Systems, Inc.
'All relevant people are pertinent' && 'All rude people are impertinent'
=> 'no rude people are relevant'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503160023.QAA08809>