5 die "usage: ${0} -ll device"
8 [ "$1" = "-ll" ] || usage
14 if [ -n "$FAKE_MULTIPATH_HANG" ] ; then
15 FAKE_SLEEP_REALLY="yes" sleep 999
21 for i in $FAKE_MULTIPATH_FAILURES ; do
22 if [ "$device" = "$i" ] ; then
23 path1_state="inactive"
24 path2_state="inactive"
30 ${device} (AUTO-01234567) dm-0 ,
31 size=10G features='0' hwhandler='0' wp=rw
32 |-+- policy='round-robin 0' prio=1 status=${path1_state}
33 | \`- #:#:#:# vda 252:0 active ready running
34 \`-+- policy='round-robin 0' prio=1 status=${path2_state}
35 \`- #:#:#:# vdb 252:16 active ready running