Re: Which device did I boot from?

From: Matt Domsch
Date: Sat Apr 15 2006 - 00:25:39 EST


On Fri, Apr 14, 2006 at 11:52:17PM +0200, Rene Herman wrote:
> William Estrada wrote:
>
> >Is there a way to determine which device I have booted from? For
> >example, say I booted from a USB device, can I tell which one? I did
> >not find anything in /proc FS other than the cmdline options.
>
> If you choose the (experimental) CONFIG_EDD option in your kernel then,
> with cooperation of your BIOS, you'll have a /sys/firmware/edd with at
> least some info about the BIOS boot device. For me:

I suppose I should un-mark this as experimental. It's been in the
kernel for a couple years, and shipping enabled in RHEL4 for over a
year with no problems (a recent buggy BIOS workaround the one
exception).

--
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/