public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Matt_Domsch@Dell.com
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Deterimining EFI device number within Linux?
Date: Tue, 27 Mar 2001 23:18:50 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590693005362@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590693005359@msgid-missing>

Does anyone know how to determine the EFI Device Number (such as 0x80) for a
disk known as /dev/sda, under Linux (ideally from user-space, but I'd take a
kernel-space trick too)?  There's an equivalent problem in IA-32 which has
no known solution.  I'm hoping there is for EFI<->Linux.

The problem I'm trying to solve is that my eli2bootmgr program, which puts
eli labels into the EFI Boot Manager, needs to correctly identify to EFI
which EFI device contains the file system with a \eli.efi application.  I
also need to know disk geometry, partition type (GPT, MBR), and the like,
but I believe I can manage that.

Maybe my approach to this is wrong.  I'm writing a Linux user-space
application to frob the boot manager.  Maybe I should be considering writing
an EFI app instead?

Thanks,
Matt

--
Matt Domsch
Sr. Software Engineer
Dell Linux Systems Group
Linux OS Development
www.dell.com/linux



  reply	other threads:[~2001-03-27 23:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27 23:18 [Linux-ia64] Deterimining EFI device number within Linux? Matt_Domsch
2001-03-27 23:18 ` Matt_Domsch [this message]
2001-03-28 17:12 ` David Mosberger
2001-03-28 17:59 ` Stephane Eranian

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=marc-linux-ia64-105590693005362@msgid-missing \
    --to=matt_domsch@dell.com \
    --cc=linux-ia64@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