user avatar
blockdev: Don't fail on missing start sector
Stanislav Brabec authored
It causes
 # blockdev --report" error:
 blockdev: /dev/dm-9: failed to read partition start from sysfs: No such file or directory

There is no reliable way to detect a geometry in this case. Report N/A
instead.

Signed-off-by: default avatarStanislav Brabec <sbrabec@suse.cz>
Cc: Martin Wilck <martin.wilck@suse.com>
Signed-off-by: default avatarKarel Zak <kzak@redhat.com>
9147d2ad
Name Last commit Last update