]> 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 22:06:25 +0000 (15:06 -0700)
commit180c7b4567dc7fa1648806646b9d44c9dcc6d039
tree585a452d43fd436f560b3a184682e483809b0eea
parent348acecb8de1b2602811bc51b937b8c1858a0484
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