DmVerityMode
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Android OS 起動時の dm-verity モード。
列挙型 |
DM_VERITY_MODE_UNSPECIFIED |
不明な値。 |
ENFORCING |
破損が検出された場合にデバイスが再起動されることを示します。 |
IO_ERROR |
破損したデータブロック(EIO ブート状態とも呼ばれます)を読み取ろうとすると、I/O エラーが返されることを示します。 |
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. |"]]