DmVerityMode
Android 作業系統啟動期間的 dm-verity 模式。
列舉 |
DM_VERITY_MODE_UNSPECIFIED |
未知的值。 |
ENFORCING |
表示裝置偵測到毀損時將重新啟動。 |
IO_ERROR |
表示系統會嘗試傳回 I/O 錯誤,以嘗試讀取損毀的資料區塊 (也稱為 eio 啟動狀態)。 |
DISABLED |
表示裝置已停用 dm-verity 功能。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-04-11 (世界標準時間)。
[null,null,["上次更新時間:2024-04-11 (世界標準時間)。"],[[["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"]]