On 01/18/2011 10:01 AM, Xavier Nicollet wrote: > I did something like that: > cryptsetup luksOpen /dev/mapper/lv_device crypto_device > > I would like to find a way, given /dev/mapper/crypto_device, to find > which lv_device it was built from. cryptsetup status crypto_device (for active mapping)? (But note this device name is not always the same you used, for LV you can have several symlinks /dev/mapper/vg-lv or /dev/vg/lv or /dev/by-uuid/... so there are hardcoded priorities) Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt