genfio: Don't consider only /dev/ disk device
authorErwan Velu <erwan@enovance.com>
Thu, 8 Aug 2013 08:59:46 +0000 (10:59 +0200)
committerErwan Velu <erwan@enovance.com>
Thu, 8 Aug 2013 15:40:56 +0000 (17:40 +0200)
commitbed59bab819823dffe270435b65ed8feafb52148
tree23a2ba3099e083ba6d905c411ede8f83225215c7
parent1378cc68af81d2160ba1603b1724aac6c01f3a7f
genfio: Don't consider only /dev/ disk device

Prior this patch, genfio was considering the disks __NOT__ having the "/dev"
name in it.

That's a serious limitation as
- we can't test regular files
- that doesn't works for complex /dev/ naming like /dev/disk/by-id/...

This patch removes this requirement and let user giving the complete
path.
tools/genfio