From: Milan Broz <mbroz@redhat.com>
To: Aaron Lewis <aaron.lewis1989@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] Problem with udev and dmcrpyt
Date: Fri, 16 Jul 2010 09:42:07 +0200 [thread overview]
Message-ID: <4C400D4F.6010100@redhat.com> (raw)
In-Reply-To: <4C3FC795.6070007@gmail.com>
On 07/16/2010 04:44 AM, Aaron Lewis wrote:
> udevd-work[7416]: kernel-provided name 'dm-2' and NAME= 'mapper/crypt_0'
> disagree, please use SYMLINK+= or change the kernel to provide the
> proper name
>
>
> So i put udev rules like this:
>
> KERNEL=="dm-0",NAME="dm-0",SYMLINK+="mapper/home"
> KERNEL=="dm-1",NAME="dm-1",SYMLINK+="mapper/code"
This is completely wrong, never do that. dm-X names are dynamic.
No need to worry about the warning above if it works.
> How can i get rid of that together ?
Update package which provides DM new rules. Yor distro should provide
it if they update udev.
Milan
next prev parent reply other threads:[~2010-07-16 7:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-16 2:44 [dm-crypt] Problem with udev and dmcrpyt Aaron Lewis
2010-07-16 7:42 ` Milan Broz [this message]
2010-07-16 10:53 ` Aaron Lewis
2010-07-16 11:00 ` Thomas Bächler
2010-07-16 11:15 ` Aaron Lewis
2010-07-16 11:26 ` Milan Broz
2010-07-16 11:59 ` Aaron Lewis
2010-07-16 13:24 ` Milan Broz
2010-07-16 15:22 ` Aaron Lewis
2010-07-16 11:20 ` Milan Broz
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=4C400D4F.6010100@redhat.com \
--to=mbroz@redhat.com \
--cc=aaron.lewis1989@gmail.com \
--cc=dm-crypt@saout.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