[dm-crypt] crypt_get_uuid does not work as expected with plain volumes
.. ink ..
mhogomchungu at gmail.com
Fri Jan 18 19:29:00 CET 2013
tested with cryptsetup version 1.6.0
link above has source code for the "tt" program below
[root at mtz ~]# cryptsetup create rrr /home/ink/rrr.img
[root at mtz ~]#
[root at mtz ~]# /home/ink/tt /dev/mapper/rrr
[root at mtz ~]# /home/ink/tt /dev/mapper/zuluCrypt-500-NAAN-truecrypt-2273
crypt_get_uuid() failed: No such file or directory
The source code and the test show crypt_get_uuid does not work as expected
with plain volumes but does with truecrypt volumes and luks volumes. The
expected behavior is to return NULL on volumes that do not support UUID.
with plain volumes,instead of "NULL",crypt_get_uuid returns "PLAIN-XYZ"
where "XYZ" is the last component of the mapper path.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dm-crypt