From: Luca Berra <bluca@comedia.it>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Determine boot disk device name...
Date: Wed, 27 Oct 2010 07:52:44 +0200 [thread overview]
Message-ID: <20101027055244.GA12653@maude.comedia.it> (raw)
In-Reply-To: <AANLkTikX3+Dr5b-QQLZUquTvZ_YYuv8rB_nh=8ocmHvW@mail.gmail.com>
On Sat, Oct 23, 2010 at 10:58:03PM -0400, Jon Price wrote:
>Hi,
>For starters, how can I determine the physical device name of current/active
>boot disk in Linux?
which architecture?
with x86 it is impossible to determine from what device the current
system has booted, and it is very difficult to guess which device will
be used to boot next time, this is why grub uses a device map to
associate bios hard disks to devices, which is configured at install
time.
On different arches you could have some interface to query nvram.
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
prev parent reply other threads:[~2010-10-27 5:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-24 2:58 [linux-lvm] Determine boot disk device name Jon Price
2010-10-25 18:11 ` Malahal Naineni
2010-10-25 19:21 ` Alexander Skwar
2010-10-25 21:28 ` Malahal Naineni
2010-10-26 8:29 ` Alexander Skwar
2010-10-26 18:41 ` Malahal Naineni
2010-10-26 18:55 ` Ray Morris
2010-10-25 19:16 ` Stephane Chazelas
2010-12-02 3:12 ` Stuart D. Gathman
2010-10-27 5:52 ` Luca Berra [this message]
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=20101027055244.GA12653@maude.comedia.it \
--to=bluca@comedia.it \
--cc=linux-lvm@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.