All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: [PATCH] HAL: Ignore internal DM devices with new DM udev rules
Date: Wed, 14 Jul 2010 09:43:49 +0000	[thread overview]
Message-ID: <4C3D86D5.5050309@redhat.com> (raw)
In-Reply-To: <1279022894-20089-1-git-send-email-mbroz@redhat.com>

On 07/14/2010 11:12 AM, Robby Workman wrote:
> On Tue, 13 Jul 2010 14:08:14 +0200
> Milan Broz <mbroz@redhat.com> wrote:

> I get two separate dialog windows to enter the passphrase
> (the first appears, I enter the passphrase, and then the 
> second appears), and after entering the passphrase for the 
> second time, I get this:

sigh. If udev rule set this flag, it is not top-level device
and nobody should touch it.

Top level device is then visible, that's the one you want to mount...

if you see the log, event comes there for top-level:

04:04:20.064 [D] osspec.c:249: Found a dm-device (/dev/dm-6), mark it
04:04:20.064 [I] osspec.c:256: SEQNUM"50, ACTION=change, SUBSYSTEM=block, DEVPATH=/sys/devices/virtual/block/dm-6, DEVNAME=/dev/dm-6, IFINDEX=0

so I do not think it is problem with this patch.

But in fact I have no idea how the whole desktop machinery above
that works, I expect that there is some race with another auto mount
system - see dmsetup table if the device is not mapped elsewhere already:-)

Milan

      parent reply	other threads:[~2010-07-14  9:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13 12:08 [PATCH] HAL: Ignore internal DM devices with new DM udev rules Milan Broz
2010-07-14  9:12 ` Robby Workman
2010-07-14  9:43 ` Milan Broz [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=4C3D86D5.5050309@redhat.com \
    --to=mbroz@redhat.com \
    --cc=linux-hotplug@vger.kernel.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.