[dm-crypt] inconsistency in opening multiple mappers on the same device

.. ink .. mhogomchungu at gmail.com
Fri Jun 1 14:47:44 CEST 2012

> Of course you cannot have two mappings on the same name.
> The collision is not for the mapping, but for the name!
> How would you even address a mapping if you had several on
> the same /dev/mapper/<...> entry? That would be like
> having several different files under the same file name.

computer 101, you cannot have more than one instance of a name in the
same folder. Why didnt i think of that? :-) But still, if cryptsetup
complaint is on duplicate mapper name, the error should talk about
mapper name, not device.

The error should have said "mapper name zzz already exist", not
"device zzz already exist".

More information about the dm-crypt mailing list