DmVerityMode
The dm-verity mode during Android OS startup.
Enums |
DM_VERITY_MODE_UNSPECIFIED |
Unknown value. |
ENFORCING |
Indicates that the device will be restarted when corruption is detected. |
IO_ERROR |
Indicates that an I/O error will be returned for an attempt to read corrupted data blocks (also known as eio boot state). |
DISABLED |
Indicates that dm-verity is disabled on device. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["dm-verity is a feature used during Android OS startup to ensure data integrity."],["It has various operational modes, including `ENFORCING`, `IO_ERROR`, and `DISABLED`, governing system behavior when corruption is detected."],["`ENFORCING` mode triggers a system restart upon encountering corruption, while `IO_ERROR` results in input/output errors for reads from affected blocks."],["The `DISABLED` mode signifies the deactivation of dm-verity on the device."]]],["The provided information details four `dm-verity` modes during Android OS startup. `DM_VERITY_MODE_UNSPECIFIED` signifies an unknown state. `ENFORCING` mode restarts the device upon detecting data corruption. `IO_ERROR` mode returns an I/O error when corrupted data is read. `DISABLED` indicates that dm-verity is inactive on the device. Each mode dictates how the system handles data integrity and potential corruption during the boot process.\n"]]