Allow "private" activation (skip some udev global rules) flag.

This commit is contained in:
Milan Broz
2012-05-02 16:51:58 +02:00
parent adaf6d3eb4
commit ba7d9967a8
4 changed files with 8 additions and 2 deletions

View File

@@ -640,6 +640,8 @@ int crypt_keyslot_destroy(struct crypt_device *cd, int keyslot);
#define CRYPT_ACTIVATE_SHARED (1 << 2)
/** enable discards aka TRIM */
#define CRYPT_ACTIVATE_ALLOW_DISCARDS (1 << 3)
/** skip global udev rules in activation ("private device"), input only */
#define CRYPT_ACTIVATE_PRIVATE (1 << 4)
/**
* Active device runtime attributes