We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d397b17 + 3ed1065 commit b4631c4Copy full SHA for b4631c4
1 file changed
fio/fio_run
@@ -1129,7 +1129,8 @@ if [ $file_count -eq 0 ]; then
1129
if [[ $disks_passed != "grab_disks" ]]; then
1130
device_list=`echo $disks_passed | sed "s/,/ /g"`
1131
for item in $device_list; do
1132
- value=`file $item`
+ #dereference symlinks to handle things like multipath aliases in /dev/mapper
1133
+ value=`file -L $item`
1134
echo $value | grep "block special" > /dev/null
1135
if [ $? -ne 0 ]; then
1136
exit_out "Error: $item is not a block device" 1
0 commit comments