From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 16 Jul 2010 09:42:12 +0200 (CEST) Message-ID: <4C400D4F.6010100@redhat.com> Date: Fri, 16 Jul 2010 09:42:07 +0200 From: Milan Broz MIME-Version: 1.0 References: <4C3FC795.6070007@gmail.com> In-Reply-To: <4C3FC795.6070007@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] Problem with udev and dmcrpyt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aaron Lewis Cc: dm-crypt@saout.de 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