[dm-crypt] renaming of device

Arno Wagner arno at wagner.name
Sun Jan 10 16:16:59 CET 2010

Cryptsetup seems to report the device in /dev/scsi/*
if they are present, instead of the device name 
mappings were created with. So I created with /dev/sdd
and status tells me I have /dev/scsi/sdh4-0c0i0l0,
which is really a problem because it could cause me 
to confuse devices and map them twice or the like.

Is there an easy way to map this back or turn off this
behaviour or list both device names? What I do at the 
moment is to look at major and minor of the reported 
device and than look up which traditional device this 

If this is a fundamental problem, I will likely
write a wrapper (something like crypt-status)
that does the lookup for me, but maybe there is 
an easier solution?


Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno at wagner.name 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

If it's in the news, don't worry about it.  The very definition of 
"news" is "something that hardly ever happens." -- Bruce Schneier 

More information about the dm-crypt mailing list