All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: Dan Ehrenberg <dehrenberg@chromium.org>
Cc: grundler@chromium.org, drewry@chromium.org, dm-devel@redhat.com,
	gwendal@chromium.org
Subject: Re: dm: Get devices using name_to_dev_t
Date: Wed, 14 Jan 2015 21:26:36 -0500	[thread overview]
Message-ID: <20150115022636.GA7967@redhat.com> (raw)
In-Reply-To: <1421280960-23984-1-git-send-email-dehrenberg@chromium.org>

On Wed, Jan 14 2015 at  7:16pm -0500,
Dan Ehrenberg <dehrenberg@chromium.org> wrote:

> If a device is used as the root filesystem, it can't be built
> off of devices which are within the root filesystem (just like
> command line arguments to root=). For this reason, Linux has a
> pseudo-filesystem for root= and md initialization based on the
> function name_to_dev_t, which handles different ways of specifying
> devices including PARTUUID and major:minor.
> 
> This patch applies name_to_dev_t to dm initialization. Rather
> than assuming that all things which are not major:minor are paths
> in an already-mounted filesystem, this patch first attempts
> name_to_dev_t and tries the filesystem as a fallback.

What is all this talk of an already-mounted filesystem?

dm_get_device() currently assumes either a major:minor or path to the
block device is provided.  Please be specific about what functionality
this change enables that you cannot do without.

  reply	other threads:[~2015-01-15  2:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-15  0:16 [PATCH] dm: Get devices using name_to_dev_t Dan Ehrenberg
2015-01-15  2:26 ` Mike Snitzer [this message]
2015-01-15  4:15   ` Daniel Ehrenberg

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=20150115022636.GA7967@redhat.com \
    --to=snitzer@redhat.com \
    --cc=dehrenberg@chromium.org \
    --cc=dm-devel@redhat.com \
    --cc=drewry@chromium.org \
    --cc=grundler@chromium.org \
    --cc=gwendal@chromium.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.