HomeClusterLabs Projects

Volume groups and logical volumes "-" in their name get mangled with double…

Description

Volume groups and logical volumes "-" in their name get mangled with double dashes
in dmsetup. Switching to wc and just counting lines while depending on the vgname
+ lvname filter in the dmsetup call gets around the issue with dmsetup outputting
correctly but grep failing due to the name mangle.

Logic for both test cases and dmsetup calls changed so they match too. No reason
to not have matching tests.

This is AllBad but there isn't a better way that I'm aware of yet.

Details

Provenance
Paul Mezzanini <pfmeec@rit.edu>Authored on Jun 1 2018, 11:58 AM
Parents
rR21de56462f37: Merge pull request #1035 from oalbrigt/findif-improve-ipv6-nic-detection
Branches
Unknown
Tags
Unknown

Event Timeline