]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Add partition type checks for BLKID probing
authorJohn Ferlan <jferlan@redhat.com>
Wed, 14 Dec 2016 22:45:20 +0000 (17:45 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 10 Jan 2017 13:44:50 +0000 (08:44 -0500)
commita22e1a00326500bdeeb3e58c69ef8496dba791cc
tree2979e3d4731e546f2a3fee93fa85ecbf43cf4059
parentf23d4bbce39b8f7d2228078947ce507ccc993ef0
storage: Add partition type checks for BLKID probing

A device may be formatted using some sort of disk partition format type.
We can check that using the blkid_ API's as well - so alter the logic to
allow checking the device for both a filesystem and a disk partition.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/storage/storage_backend.c