DmVerityMode
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
โหมด dm Verity ระหว่างเริ่มต้นใช้งานระบบปฏิบัติการ Android
Enum |
DM_VERITY_MODE_UNSPECIFIED |
ค่าที่ไม่รู้จัก |
ENFORCING |
ระบุว่าอุปกรณ์จะรีสตาร์ทเมื่อตรวจพบความเสียหาย |
IO_ERROR |
ระบุว่าจะแสดงข้อผิดพลาด I/O เพื่อพยายามอ่านบล็อกข้อมูลที่เสียหาย (หรือที่เรียกว่าสถานะการเปิดเครื่อง Eio) |
DISABLED |
ระบุว่าปิดใช้ dm-verity ในอุปกรณ์อยู่ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]