Try to read first sector from device to properly check that device is ready.
[platform/upstream/cryptsetup.git] / src /
drwxr-xr-x   ..
-rw-r--r-- 557 Makefile.am
-rw-r--r-- 22297 cryptsetup.c
-rw-r--r-- 1573 cryptsetup.h