dracut/modules.d/90multipath
Pekka Wallendahl 851946468a multipath: fix majmin_to_mpath_dev()
* Multipath device names only start with the mpath-prefix if the option
  use_userfriendly_names is set true in /etc/multipath.conf and if user
  has not set any aliases in the said file. Thus the for-loop should go
  through all files in /dev/mapper/, not just ones starting with 'mpath'

* Bash is perfectly capable to extend `/dev/mapper/*` notation without a
  need to pass it to an external ls

* Changed the function to use a local variable $_dev instead of the
  global $dev, which seemed to be the original intention as the local
  _dev was defined but not used

(cherry picked from commit 28058a2e37)
2016-02-29 11:43:18 +01:00
..
module-setup.sh multipath: fix majmin_to_mpath_dev() 2016-02-29 11:43:18 +01:00
multipathd-needshutdown.sh multipath: need_shutdown if multipath devices exist 2013-08-09 10:44:34 +02:00
multipathd-stop.sh removed trailing whitespaces 2011-05-10 11:56:09 +02:00
multipathd.sh use "rm --" to guard against filenames beginning with "-" 2013-06-28 10:31:18 +02:00