If a block device has ID_PATH set, consider it to be a drive
authorDavid Zeuthen <zeuthen@gmail.com>
Tue, 5 Jun 2012 18:44:48 +0000 (14:44 -0400)
committerDavid Zeuthen <zeuthen@gmail.com>
Tue, 5 Jun 2012 18:59:27 +0000 (14:59 -0400)
commit93e82ba32dd51d3b8d786060c4bbe44e62a85bb5
tree89b4fc16041e741f0c2a36b6d65c522105b57a45
parent5dbb35efcae39b507293f4181dca8d50766fe5d3
If a block device has ID_PATH set, consider it to be a drive

This fixes problems with the devices where ID_SERIAL or
ID_WWN_WITH_EXTENSION is not set. For example, block devices from the
rts_pstor driver.

See https://bugzilla.redhat.com/show_bug.cgi?id=828492

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
src/udiskslinuxdriveobject.c