The multipathd commands with a $map argument will only accept
dm-<number> and aliases for $map. Make them accept WWIDs as well. Also,
change find_mp_by_str() to not skip devices with aliases of the form
dm-<something_that_starts_with_a_number>, which are horrible names, but
still valid.

Benjamin Marzinski (2):
  libmultipath: accept poorly chosen aliases in find_mp_by_str
  libmultipath: accept wwids in find_mp_by_str

 libmultipath/structs.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

-- 
2.45.0


Reply via email to