DmVerityMode
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
在 Android 操作系统启动期间使用 dm-verity 模式。
枚举 |
DM_VERITY_MODE_UNSPECIFIED |
未知值。 |
ENFORCING |
表示在检测到损坏时设备将重启。 |
IO_ERROR |
表示尝试读取损坏的数据块(也称为 eio 启动状态)时将返回 I/O 错误。 |
DISABLED |
表示 dm-verity 在设备上处于停用状态。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003edm-verity is a feature used during Android OS startup to ensure data integrity.\u003c/p\u003e\n"],["\u003cp\u003eIt has various operational modes, including \u003ccode\u003eENFORCING\u003c/code\u003e, \u003ccode\u003eIO_ERROR\u003c/code\u003e, and \u003ccode\u003eDISABLED\u003c/code\u003e, governing system behavior when corruption is detected.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eENFORCING\u003c/code\u003e mode triggers a system restart upon encountering corruption, while \u003ccode\u003eIO_ERROR\u003c/code\u003e results in input/output errors for reads from affected blocks.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDISABLED\u003c/code\u003e mode signifies the deactivation of dm-verity on the device.\u003c/p\u003e\n"]]],["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"],null,["# DmVerityMode\n\nThe dm-verity mode during Android OS startup.\n\n| Enums ||\n|------------------------------|---------------------------------------------------------------------------------------------------------------------------|\n| `DM_VERITY_MODE_UNSPECIFIED` | Unknown value. |\n| `ENFORCING` | Indicates that the device will be restarted when corruption is detected. |\n| `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). |\n| `DISABLED` | Indicates that dm-verity is disabled on device. |"]]