public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Deterimining EFI device number within Linux?
@ 2001-03-27 23:18 Matt_Domsch
  2001-03-27 23:18 ` Matt_Domsch
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Matt_Domsch @ 2001-03-27 23:18 UTC (permalink / raw)
  To: linux-ia64

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-03-28 17:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-27 23:18 [Linux-ia64] Deterimining EFI device number within Linux? Matt_Domsch
2001-03-27 23:18 ` Matt_Domsch
2001-03-28 17:12 ` David Mosberger
2001-03-28 17:59 ` Stephane Eranian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox