我尝试使用veritysetup从adb shell获取dm-verity状态,但我传递的所有设备都会导致:
# cryptsetup 1.3.1 processing "./veritysetup --debug --verbose status /dev/device-mapper"
# Running command status.
# Initialising device-mapper backend library.
# Detected kernel Linux 3.10.49-gd004f33-dirty aarch64.
# dm version OF [16384]
# dm versions OF [16384]
# Device-mapper backend running with UDEV support disabled.
/dev/mapper: opendir failed: No such file or directory
Device /dev/device-mapper not found
# Releasing device-mapper backend.
# crypt_status: 0
Command failed with code 22: Invalid argument
我尝试使用:/dev/dm-0, /dev/device-mapper, /system and /dev/block/mmcblk0p30
- 所有结果都有相同的错误。
命令行是:
$ veritysetup --debug --verbose status /dev/block/mmcblk0p30
我做错了什么?