mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Use dm-uuid for all crypt devices, contains device type and name now.
DM_UUID now contains prefix (CRYPT-), device type (LUKS1, PLAIN, TEMP), UUID (if provided - LUKS) and device name. Because e.g. snapshot of full LUKS device during activation must have different name, DM-UUID is different too and we do not need --disable-uuid option. DM-UUID is persistent during activation time. * Revert (and solve different way): Replace not safe option --non-exclusive with --disable-uuid. Signed-off-by: Milan Broz <mbroz@redhat.com> git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@105 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
@@ -81,8 +81,10 @@ int dm_query_device(const char *name,
|
||||
int *key_size,
|
||||
char **key,
|
||||
int *read_only,
|
||||
int *suspended);
|
||||
int dm_create_device(const char *name, const char *device, const char *cipher, const char *uuid,
|
||||
int *suspended,
|
||||
char **uuid);
|
||||
int dm_create_device(const char *name, const char *device, const char *cipher,
|
||||
const char *type, const char *uuid,
|
||||
uint64_t size, uint64_t skip, uint64_t offset,
|
||||
size_t key_size, const char *key,
|
||||
int read_only, int reload);
|
||||
|
||||
Reference in New Issue
Block a user