mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin Schwidefsky" <schwidefsky@de.ibm.com>
To: Andries Brouwer <aebr@win.tue.nl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: hd_geometry question.
Date: Wed, 3 Jul 2002 10:13:19 +0200	[thread overview]
Message-ID: <OFC6BCF5FE.976DF5FA-ONC1256BEB.002C62D4@de.ibm.com> (raw)


>> Just to make sure I got that right, HDIO_GETGEO delivers a FAKE geometry
>> based on the assumption that the sector size is 512 bytes ?
>
>I am tempted to just answer "yes".
>You capitalize FAKE, as if that is an interesting and important part.
>But non-fake geometries do not exist. Let me give a somewhat more
>explicit answer.

Thanks for the long answer, it helped me to understand the situation.
Our problem is that we do have a REAL geometry for the dasd disks on
a s/390. And for the old dasd driver in the 2.4 series HDIO_GETGEO
delivers the real geometry of the disk measured in physical blocks
which is not necessarily 512 bytes. Most often it is 4096 bytes.
The problem now is that if geo.start is REQUIRED to be measured in
512 byte blocks we have to incompatibly change the HDIO_GETGEO ioctl.
Not nice.

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com



             reply	other threads:[~2002-07-03  8:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-03  8:13 Martin Schwidefsky [this message]
2002-07-03  9:37 ` Andries Brouwer
  -- strict thread matches above, loose matches on Subject: below --
2002-07-02  9:16 Martin Schwidefsky
2002-07-02 10:50 ` jw schultz
2002-07-03  0:20 ` Andries Brouwer
2002-07-03 23:48   ` Roman Zippel
2002-07-04  9:09     ` Andries Brouwer
2002-07-04 22:15       ` Andre Hedrick
2002-07-08 18:55     ` Alan Cox
2002-07-01 16:02 Martin Schwidefsky
2002-07-01 19:19 ` Andre Hedrick
2002-07-01 19:58 ` Andries Brouwer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OFC6BCF5FE.976DF5FA-ONC1256BEB.002C62D4@de.ibm.com \
    --to=schwidefsky@de.ibm.com \
    --cc=aebr@win.tue.nl \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®