Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

escape dashes in lv name for dmsetup remove #81

Merged
merged 1 commit into from
Feb 4, 2015

Conversation

jhofeditz
Copy link

We use dashes in our LV names and they are automatically escaped by LVM (The dashes are doubled). When we create VG myvg and LV my-lv, the lvcreate device is /dev/mapper/myvg-my--lv.

This only affects dmsetup remove. The other LVM commands and outputs use the unescaped names.
I'm not sure if a new set of tests should be created or if the current create and destroy test should be modified to use myvg/my-lv so I didn't make any spec changes.

underscorgan pushed a commit that referenced this pull request Feb 4, 2015
escape dashes in lv name for dmsetup remove
@underscorgan underscorgan merged commit 3f81181 into puppetlabs:master Feb 4, 2015
@underscorgan
Copy link
Contributor

Great, thanks @jhofeditz !

cegeka-jenkins pushed a commit to cegeka/puppet-lvm that referenced this pull request Oct 23, 2017
escape dashes in lv name for dmsetup remove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants