All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeroen Dekkers <jeroen@vrijschrift.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Bug#381150: still not able to handle partitionable arrays
Date: Thu, 17 May 2007 23:25:38 +0200	[thread overview]
Message-ID: <87iraruoq5.wl@dekkers.cx> (raw)
In-Reply-To: <20070507200050.GB3143@aragorn>

At Mon, 7 May 2007 22:00:50 +0200,
Robert Millan wrote:
> 
> On Mon, May 07, 2007 at 09:03:48PM +0200, Yoshinori K. Okuji wrote:
> > On Saturday 05 May 2007 01:29, Robert Millan wrote:
> > > It seems there are problems with accessing software RAID in devices with
> > > pathnames like /dev/md_d0p1
> > 
> > Is there any specification about device names on Linux? I have been seeing 
> > Linux adding more and more new inconsistent device names for years, and it 
> > seems to be no end in this game.

The best part is actually that it's not the only name, from the mdadm manpage:

"""
The standard names for non-partitioned arrays (the only sort of md array available in 2.4 and earlier) either of

              /dev/mdNN
              /dev/md/NN

where NN is a number.  The standard names for partitionable arrays (as available from 2.6 onwards) is one of

              /dev/md/dNN
              /dev/md_dNN

Partition numbers should be indicated by added "pMM" to these, thus "/dev/md/d1p2". 
"""

> Not that I know of.  But a few days ago I was toying with the idea that grub
> could theoreticaly become device path agnostic.  Maybe this doesn't apply to
> specific things like software RAID / LVM, but for most weird devices it's
> probably feasible.

I've been thinking about that too, because the current way seems a bit
fragile. But then you're looking up the device major and minor number
for partionable RAID arrays and you see that it's in the
"LOCAL/EXPERIMENTAL USE" range. Not very useful either...

Jeroen Dekkers



  reply	other threads:[~2007-05-17 21:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070106165916.GA7895@lapse.madduck.net>
2007-05-04 23:29 ` Bug#381150: still not able to handle partitionable arrays Robert Millan
2007-05-07 19:03   ` Yoshinori K. Okuji
2007-05-07 20:00     ` Robert Millan
2007-05-17 21:25       ` Jeroen Dekkers [this message]
2007-05-18 18:37         ` Yoshinori K. Okuji
2007-05-17 23:28   ` Jeroen Dekkers
2007-05-18  6:32     ` Robert Millan
2007-05-18  7:34     ` Michael Guntsche
2007-05-18 10:56       ` Jeroen Dekkers

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=87iraruoq5.wl@dekkers.cx \
    --to=jeroen@vrijschrift.org \
    --cc=grub-devel@gnu.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 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.