Re: Which device did I boot from?

From: Andrey Borzenkov
Date: Sat Apr 15 2006 - 03:00:06 EST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> > 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 am sorry but it does not tell about boot device. It contains all hard disks
enumerated via EDD interface. I do not see any information
under /sys/firmware/edd that would have allowed to guess boot device.

- -andrey

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEQJnjR6LMutpd94wRAqIDAJ9fSZYjCXsecWXbuuC+rehMU/FL7ACfSmug
+OKNYJORExMX7oMrdjgIc+4=
=SDfj
-----END PGP SIGNATURE-----
-
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/