Re: an official way to know if the underlying device is gone for all supported volume formats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 19.3.2013 3:24, .. ink .. wrote:
and what about truecrypt volume? The point is that when the
underlying device is gone,the API becomes contradicting and
unpredictable as it start to exhibit undocumented behaviors.

No, crypt_get_type() should return NULL in this case ("unknown").
This is documented value.

...
There is another API i do not remember at the moment than return
undocumented NULL in this situation.

For unknown type the query operations are not defined (resp. you get NULL)
because itnerenaly it is is nor (yet) recognised.

But yes, it should be probably unified and documented better (NULL
seems to missing in doc in some query commands).
(In fact, underlying device cannot disapper if in use - there is still
(in kernel) some reference used in maping table but userspace behaves
diferently seems.)

Milan

_______________________________________________
dm-crypt mailing list
dm-crypt@xxxxxxxx
http://www.saout.de/mailman/listinfo/dm-crypt


[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux