From: Michael Tokarev <mjt@tls.msk.ru>
To: Neil Brown <neilb@suse.de>, Michael Tokarev <mjt@tls.msk.ru>,
linux-raid <linux-raid@vger.kernel.org>
Subject: Re: md[adm] device names
Date: Mon, 02 Nov 2009 14:21:26 +0300 [thread overview]
Message-ID: <4AEEC0B6.8020301@msgid.tls.msk.ru> (raw)
In-Reply-To: <20091102082424.GD7626@lapse.rw.madduck.net>
martin f krafft wrote:
> also sprach Neil Brown <neilb@suse.de> [2009.11.02.0315 +0100]:
>> Numbers are meaningless. I would much rather have "/dev/md/home" or
>> "/dev/md/backup" or whatever. But as I said, old names should still
>> work.
>
> … except sysfs exposes device names à la md1, right? I agree with
> Michael that we should either have numbers or names, but not both.
> http://bugs.debian.org/553896 came in today, which is just another
> instance of confusion resulting from multiple choices.
If I see it right, Neil's plan was to keep /dev/mdN naming intact,
_and_ introduce _additional_ /dev/md/friendlyname scheme a-la
/dev/disk/by-*/foo. _That_ looks quite good thing. It wasn't
an intention to have multiple device nodes.
But what bothers me in this whole thing is why, out of the sudden,
in initramfs we've /dev/md/0 (in a subdir) instead of /dev/md0
(the traditional way and the kernel device naming).
> I personally don't have a problem with numbers; they are as
> meaningless or -full as partition numbers, and I used stuff like
> /dev/sda5 on my systems for decades without problems. The trend
> these days is dm/LVM, and that gives us decent names like
> /dev/mapper/home, and I see the benefit in moving towards
> /dev/md/home, but it needs to be done consistently, and either one
> or the other.
No need to _move_ towards /dev/md/home, as long as you're happy
with /dev/md1. Having /dev/md1 device _and_ /dev/md/home symlink
is handy (And lvm from this point of view is something entirely
different since it _never_ had any meaningful numbers). What
is questionable is why or how the "main" device node got moved
from /dev/md1 to /dev/md/1. Which is what this new bugreport
is about.
/mjt
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-11-02 11:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-31 12:54 md[adm] device names Michael Tokarev
2009-11-02 2:15 ` Neil Brown
2009-11-02 8:24 ` martin f krafft
2009-11-02 11:21 ` Michael Tokarev [this message]
2009-11-02 11:14 ` Michael Tokarev
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=4AEEC0B6.8020301@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).