Abstract out vol_id vs. blkid usage
commit59c88f499f404429ea331252bd6ad8c9d537f7d3
authorVictor Lowther <victor.lowther@gmail.com>
Wed, 19 Aug 2009 20:51:54 +0000 (19 15:51 -0500)
committerVictor Lowther <victor.lowther@gmail.com>
Thu, 20 Aug 2009 03:21:07 +0000 (19 22:21 -0500)
tree236e70444f59e97583fe7b6e7f600c11bf2c626d
parent1a4c4015bc85feeb9fbf95a9d1e9adfb2de8e897
Abstract out vol_id vs. blkid usage

Since different distros may or may not use vol_id in udev, and blkid
is generally replacing vol_id, abstract them out into a function which
tries to use vol_id first and blkid second, on the assumption that
blkid can take over for vol_id if vol_id is no longer there.
dracut-functions
modules.d/90crypt/check
modules.d/90dmraid/check
modules.d/90lvm/check
modules.d/90mdraid/check