mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: /proc/ide/hd?/settings obsolete in 2.6.
Date: Thu, 5 May 2005 14:13:20 +0200	[thread overview]
Message-ID: <58cb370e050505051360d0588c@mail.gmail.com> (raw)
In-Reply-To: <20050505111324.GA17223@animx.eu.org>

Hi,

On 5/5/05, Wakko Warner <wakko@animx.eu.org> wrote:
> Bartlomiej Zolnierkiewicz wrote:
> > On 5/5/05, Wakko Warner <wakko@animx.eu.org> wrote:
> > > If this interface is obsolete and will be removed, is there any non-obsolete
> > > way of telling the kernel what geometry I want to use for this ide device?
> >
> > Yes, physical geometry - through boot parameters and logical geometry
> > is not needed for IDE layer to function properly.
> 
> I did not ask if it was needed for it to function, I asked how to set it
> since the "settings" file is obsolete.  Yes, I do need to set this.  I want
> to know what the "non-obsolete" way is.  A project I'm working on uses linux
> to do something with the drive and that is dependant on the geometry that
> linux provides to programs be the same as what the bios thinks.  I know how
> to obtain the bios values.  I have to set these values to the kernel so
> everything functions properly.
> 
> If there is no "non-obsolete" way of doing this, then fine, I'll continue
> with the settings thing.

Please be aware that new applications are expected to use
/sys/firmware/edd/default_* instead of legacy HDIO_GETGEO ioctl
and there is currently no way to set these sysfs entries (maybe it
would be worthwile to add such functionality?).

Thanks,
Bartlomiej

  reply	other threads:[~2005-05-05 12:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-05  0:48 Wakko Warner
2005-05-05 10:10 ` Bartlomiej Zolnierkiewicz
2005-05-05 11:13   ` Wakko Warner
2005-05-05 12:13     ` Bartlomiej Zolnierkiewicz [this message]
2005-05-05 14:56       ` Alan Cox
2005-05-05 15:38         ` Wakko Warner
2005-05-05 16:21           ` Alan Cox
2005-05-05 16:33             ` Wakko Warner
2005-05-05 17:58               ` Alan Cox
2005-05-05 20:53                 ` Wakko Warner
2005-05-05 22:16                   ` Alan Cox
2005-05-05 15:33       ` Wakko Warner
2005-05-05 15:53         ` Pozsár Balázs
2005-05-05 16:20           ` Wakko Warner

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=58cb370e050505051360d0588c@mail.gmail.com \
    --to=bzolnier@gmail.com \
    --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®