From 30f7ee62e823a3bb7514e46792288bc072efdc29 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Tue, 13 Nov 2001 16:14:54 +0000 Subject: [PATCH] o Put underscore between vg and lv name. --- lib/activate/fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/activate/fs.c b/lib/activate/fs.c index 07f6d9cfd..610f068e3 100644 --- a/lib/activate/fs.c +++ b/lib/activate/fs.c @@ -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) { - 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); } @@ -88,7 +88,7 @@ static int _mk_node(struct logical_volume *lv) } _build_lv_path(lv_path, sizeof(lv_path), lv); - + if (mknod(lv_path, S_IFBLK | S_IRUSR | S_IWUSR | S_IRGRP, dev) < 0) { log_sys_error("mknod", lv_path); return 0; -- 2.43.5