mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-14 20:30:04 +01:00
Fis status command to display only specific device types.
Cryptsetup, veritysetup and integrity setup should ignore other device mappings in status command (it should display only basic type information).
This commit is contained in:
@@ -707,6 +707,10 @@ static int action_status(void)
|
||||
|
||||
log_std(" type: %s\n", crypt_get_type(cd) ?: "n/a");
|
||||
|
||||
/* Print only CRYPT type devices */
|
||||
if (!crypt_get_cipher(cd))
|
||||
goto out;
|
||||
|
||||
r = crypt_get_active_device(cd, action_argv[0], &cad);
|
||||
if (r < 0)
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user