mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
o Put underscore between vg and lv name.
This commit is contained in:
parent
03a8a07d67
commit
30f7ee62e8
@ -56,7 +56,7 @@ static int _check_devfs(const char *dev_prefix)
|
|||||||
|
|
||||||
void _build_lv_path(char *buffer, size_t len, struct logical_volume *lv)
|
void _build_lv_path(char *buffer, size_t len, struct logical_volume *lv)
|
||||||
{
|
{
|
||||||
snprintf(buffer, len, "%s%s/%s-%s",
|
snprintf(buffer, len, "%s%s/%s_%s",
|
||||||
lv->vg->cmd->dev_dir, dm_dir(), lv->vg->name, lv->name);
|
lv->vg->cmd->dev_dir, dm_dir(), lv->vg->name, lv->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user