Allow simple status of crypt device without providing metadata header.

If device is activated, we can provide some information from
active kernel parameters instead of header.
This commit is contained in:
Milan Broz
2014-06-14 17:30:19 +02:00
parent 49e55c0f42
commit 0614ab6b07
6 changed files with 94 additions and 28 deletions

View File

@@ -130,7 +130,6 @@ int LUKS_hdr_uuid_set(
int LUKS_hdr_backup(
const char *backup_file,
struct luks_phdr *hdr,
struct crypt_device *ctx);
int LUKS_hdr_restore(