dissect-image: try to open device node before activating
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 16 Sep 2022 20:03:24 +0000 (05:03 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 12 Oct 2022 20:08:33 +0000 (05:08 +0900)
commitf80015ff40bd6e17eccba3690b45335c5b11fad7
treebef28bbda1a5efbefb0fd00ce4582f00575aa6db
parent12f5fbdf30cbb917760cc1887abd19089d49b0a8
dissect-image: try to open device node before activating

Hopefully decrease the chance that the device is removed soon after
it is detected.
src/shared/dissect-image.c