DmVerityMode
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Der dm-verity-Modus beim Android-Betriebssystemstart.
Enums |
DM_VERITY_MODE_UNSPECIFIED |
Unbekannter Wert. |
ENFORCING |
Gibt an, dass das Gerät neu gestartet wird, wenn eine Beschädigung erkannt wurde. |
IO_ERROR |
Gibt an, dass ein E/A-Fehler für den Versuch zurückgegeben wird, beschädigte Datenblöcke (auch als „Eio-Bootstatus“ bezeichnet) zu lesen. |
DISABLED |
Gibt an, dass dm-verity auf dem Gerät deaktiviert ist. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\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. |"]]