From: Patrick Caulfield <caulfield@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] lv nodes in /dev ??
Date: Mon, 12 Feb 2001 16:12:12 +0000 [thread overview]
Message-ID: <20010212161212.J522@tykepenguin.com> (raw)
In-Reply-To: <20010212114109.14372.qmail@web10909.mail.yahoo.com>; from penguin_master_2000@yahoo.com on Mon, Feb 12, 2001 at 03:41:09AM -0800
On Mon, Feb 12, 2001 at 03:41:09AM -0800, Mr. Penguin wrote:
> Hi people
>
> Just noticed that all my LVs have nodes not only in
> /dev/vg00/ but also /dev !
try this patch - it seems to work for me.
patrick
Index: kernel/lvm.c
===================================================================
RCS file: /home/cvs/LVM/kernel/lvm.c,v
retrieving revision 1.7.2.41
diff -u -r1.7.2.41 lvm.c
--- kernel/lvm.c 2001/02/09 13:09:31 1.7.2.41
+++ kernel/lvm.c 2001/02/12 16:11:14
@@ -1984,6 +1984,10 @@
}
memset(snap_lv_ptr, 0, size);
+#if LINUX_VERSION_CODE > KERNEL_VERSION ( 2, 3, 46)
+ lvm_do_create_devfs_entry_of_vg ( vg_ptr);
+#endif
+
/* get the logical volume structures */
vg_ptr->lv_cur = 0;
for (l = 0; l < vg_ptr->lv_max; l++) {
@@ -2007,10 +2011,6 @@
}
}
}
-
-#if LINUX_VERSION_CODE > KERNEL_VERSION ( 2, 3, 46)
- lvm_do_create_devfs_entry_of_vg ( vg_ptr);
-#endif
/* Second path to correct snapshot logical volumes which are not
in place during first path above */
prev parent reply other threads:[~2001-02-12 16:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-05 18:22 [linux-lvm] lvm buglet in 0.9.1_beta root
2001-02-06 9:37 ` Patrick Caulfield
2001-02-07 8:45 ` Andreas Dilger
2001-02-07 13:45 ` Patrick Caulfield
2001-02-07 18:15 ` Andreas Dilger
2001-02-08 9:14 ` Patrick Caulfield
2001-02-08 18:38 ` Andreas Dilger
2001-02-09 8:46 ` Patrick Caulfield
2001-02-12 11:41 ` [linux-lvm] lv nodes in /dev ?? Mr. Penguin
2001-02-12 11:43 ` Mr. Penguin
2001-02-12 16:01 ` Patrick Caulfield
2001-02-12 19:55 ` Andreas Dilger
2001-02-13 10:51 ` Heinz J. Mauelshagen
2001-02-13 10:59 ` Mr. Penguin
2001-02-12 16:12 ` Patrick Caulfield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010212161212.J522@tykepenguin.com \
--to=caulfield@sistina.com \
--cc=linux-lvm@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.