Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev and crypt disk problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
aaronlewis1989
n00b
n00b


Joined: 30 Apr 2010
Posts: 2

PostPosted: Wed Jul 07, 2010 11:27 am    Post subject: udev and crypt disk problem Reply with quote

Hi,
I've got problems with dmcrypt , kernel provided name disagrees with my device name.

Kernel Messages:

udevd-work[6755]: kernel-provided name 'dm-1' and NAME= 'mapper/temporary-cryptsetup-6073' disagree, please use SYMLINK+= or change the kernel to provide the proper name


So i put udev rules like this , and it supressed those warnings , but created something new.

Code:
KERNEL=="dm-0",NAME="dm-0",SYMLINK+="mapper/home"
KERNEL=="dm-1",NAME="dm-1",SYMLINK+="mapper/code"


udevd-work[5650]: device node '/dev/dm-0' already exists, link to '/dev/dm-0' will not overwrite it

How can i get rid of this together ?

Appreciate any of your help !
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Fri May 20, 2011 12:59 am    Post subject: Reply with quote

Delete /etc/udev/rules.d/64-device-mapper.rules and everything will become ok. That file should be a leftover from some old version of udev.
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum