Whamcloud - gitweb
LU-608 canonicalize the devices names
authorWally Wang <wang@cray.com>
Wed, 24 Aug 2011 19:00:37 +0000 (12:00 -0700)
committerJohann Lombardi <johann@whamcloud.com>
Wed, 21 Sep 2011 12:58:31 +0000 (08:58 -0400)
commita8f9dd59341d949392c92faee57124bc70c91ce3
tree1a3999a37f8fe21548b04e0850ed32866c2a6e2b
parent0ba79ebf5c1a848ac99e28b51bdfb816401e2cbe
LU-608 canonicalize the devices names

Perform a readlink on the device name if path is /dev/disk/by-id...
See Oracle bug 24487.

Change-Id: I52bc670181606663bfbd746d34f3c2bc710ecc72
Signed-off-by: Wally Wang <wang@cray.com>
Reviewed-on: http://review.whamcloud.com/1284
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Brian J. Murrell <brian@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre-iokit/sgpdd-survey/sgpdd-survey