From: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
To: Andries Brouwer <aebr@win.tue.nl>
Cc: Szakacsits Szabolcs <szaka@sienet.hu>,
Andries Brouwer <Andries.Brouwer@cwi.nl>,
"Patrick J. LoPresti" <patl@users.sourceforge.net>,
bug-parted@gnu.org, Steffen Winterfeldt <snwint@suse.de>,
Thomas Fehr <fehr@suse.de>,
linux-kernel@vger.kernel.org, Andrew Clausen <clausen@gnu.org>,
buytenh@gnu.org, msw@redhat.com
Subject: Re: Restoring HDIO_GETGEO semantics for 2.6 (was: Re: [RFC] Restoring HDIO_GETGEO semantics)
Date: Mon, 5 Jul 2004 21:05:05 +0200 [thread overview]
Message-ID: <200407052105.05585.bzolnier@elka.pw.edu.pl> (raw)
In-Reply-To: <20040705140044.GB24899@wsdw14.win.tue.nl>
Andries, the question was "What should we do with HDIO_GETGEO breakage?"
not "Why does somebody need the BIOS geometry?". :-)
We can fix HDIO_GETGEO to behave like in 2.4 or remove it (preferable),
current situation is bad.
On Monday 05 of July 2004 16:00, Andries Brouwer wrote:
> On Mon, Jul 05, 2004 at 03:13:48PM +0200, Bartlomiej Zolnierkiewicz wrote:
> > We can restore ide-geometry.c or try to return values obtained from
> > EDD code through IDE driver. Alternatively we can add new ioctl for
> > start of partition and remove HDIO_GETGEO from IDE driver completely
> > but probably it is too late for this for 2.6 (we should do it early
> > in 2.7 then). Andries?
>
> For Linux purposes geometry is almost irrelevant.
> (But, as I remarked in another letter, some RAIDs need something.)
>
> This means as a first approximation that "geometry" is not a kernel
> business. Certainly the present discussion is not about the ide-driver.
> Indeed, what people want is the geometry that a certain BIOS will assign
> to a disk. That depends on the BIOS, and on whether the user has
> set things up with Normal / Large / LBA in the BIOS setup.
> (In case the disk was left out of the BIOS setup, this particular
> concept of geometry does not exist at all.)
>
> So, the question is whether information from the BIOS can be
> exposed. Well, that is not impossible, and EDD already does this.
>
> Why would people want to know what a BIOS would do?
> So far I have mostly seen two classes of wishes.
> One is to install lots of new Windows systems on blank disks
> - that is done faster and more conveniently from Linux -
> where there is no partition table yet to inspect.
> The other is to create or modify NTFS filesystems.
>
> Such are reasonable wishes, but rather special purpose.
> For the time being I have good hopes that it will turn out
> to be possible to do these things. Maybe using present EDD.
> Maybe by extending EDD a little.
>
> Five years ago I wrote a library that takes collected BIOS info,
> and collected Linux info, and tries to match BIOS disks with
> Linux disks. Of course it is impossible to do this right, but
> one can find heuristics that often work. Such heuristics do not
> belong in the kernel, but a user space application can decide,
> given the known situation, whether a guess is probably right,
> or perhaps consult the user.
>
> I am awaiting the discussion with Szaka.
>
> Andries
next prev parent reply other threads:[~2004-07-05 18:59 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <s5gwu1mwpus.fsf@patl=users.sf.net>
2004-07-02 16:17 ` [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff) Szakacsits Szabolcs
2004-07-02 16:50 ` Andries Brouwer
2004-07-02 18:28 ` dwm
2004-07-02 21:12 ` parted maintainership Andries Brouwer
2004-07-02 17:04 ` [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff) Andries Brouwer
2004-07-02 18:12 ` Szakacsits Szabolcs
2004-07-02 18:45 ` Patrick J. LoPresti
[not found] ` <Pine.LNX.4.60.0407022025200.28638@hermes-1.csi.cam.ac.uk>
2004-07-02 19:57 ` Patrick J. LoPresti
2004-07-03 0:17 ` Szakacsits Szabolcs
2004-07-03 0:42 ` Bartlomiej Zolnierkiewicz
2004-07-03 0:56 ` Andries Brouwer
2004-07-03 1:57 ` Szakacsits Szabolcs
2004-07-03 13:59 ` Patrick J. LoPresti
2004-07-05 12:14 ` Restoring HDIO_GETGEO semantics for 2.6 (was: Re: [RFC] Restoring HDIO_GETGEO semantics) Szakacsits Szabolcs
2004-07-05 13:10 ` Steffen Winterfeldt
2004-07-05 13:12 ` Andries Brouwer
2004-07-05 13:13 ` Bartlomiej Zolnierkiewicz
2004-07-05 14:00 ` Andries Brouwer
2004-07-05 19:05 ` Bartlomiej Zolnierkiewicz [this message]
2004-07-05 21:08 ` Andries Brouwer
2004-07-05 21:52 ` Bartlomiej Zolnierkiewicz
2004-07-06 0:17 ` Szakacsits Szabolcs
2004-07-06 1:56 ` Andries Brouwer
2004-07-06 18:56 ` Szakacsits Szabolcs
2004-07-07 1:28 ` Andries Brouwer
2004-07-07 11:14 ` Roman Zippel
2004-07-07 11:51 ` Szakacsits Szabolcs
2004-07-06 8:33 ` Steffen Winterfeldt
2004-07-05 18:09 ` Szakacsits Szabolcs
2004-07-05 18:58 ` Bartlomiej Zolnierkiewicz
2004-07-03 3:00 ` [RFC] Restoring HDIO_GETGEO semantics (was: Re: workaround for BIOS / CHS stuff) Andrew Clausen
2004-07-02 23:55 ` Szakacsits Szabolcs
2004-07-03 13:56 ` Patrick J. LoPresti
2004-07-03 2:54 ` Andrew Clausen
[not found] ` <Pine.LNX.4.60.0407030843400.2415@hermes-1.csi.cam.ac.uk>
2004-07-03 12:44 ` Andrew Clausen
[not found] ` <Pine.LNX.4.60.0407031535230.6149@hermes-1.csi.cam.ac.uk>
2004-07-03 15:02 ` Andrew Clausen
2004-07-03 14:42 ` Patrick J. LoPresti
2004-07-03 1:35 ` Andrew Clausen
2004-07-03 12:33 ` Andries Brouwer
2004-07-03 14:15 ` Patrick J. LoPresti
2004-07-03 14:45 ` Andrew Clausen
2004-07-03 15:00 ` Patrick J. LoPresti
2004-07-03 20:12 ` 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=200407052105.05585.bzolnier@elka.pw.edu.pl \
--to=b.zolnierkiewicz@elka.pw.edu.pl \
--cc=Andries.Brouwer@cwi.nl \
--cc=aebr@win.tue.nl \
--cc=bug-parted@gnu.org \
--cc=buytenh@gnu.org \
--cc=clausen@gnu.org \
--cc=fehr@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=msw@redhat.com \
--cc=patl@users.sourceforge.net \
--cc=snwint@suse.de \
--cc=szaka@sienet.hu \
/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®