]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Get device-by-path by looking for it instead of assuming 3rd entry.
authorSandon Van Ness <sandon@inktank.com>
Wed, 10 Jul 2013 21:55:52 +0000 (14:55 -0700)
committerSandon Van Ness <sandon@inktank.com>
Wed, 10 Jul 2013 21:55:52 +0000 (14:55 -0700)
commit836e35f8ede12dc2e2e811b00099ff5b151adc9b
treec005a02f0d44da4fb9bc681e91df5521069dc420
parent5deeb7b0c52d656c128880263e21caafa41b71cd
Get device-by-path by looking for it instead of assuming 3rd entry.

On some systems (virtual machines so far) the device-by-path entry
from udevadm is not always in the same spot so instead actually
look for the right output instead of blindy assuming that its a
specific field in the output.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
src/ceph-disk