From: jk@blackdown.de Date: Tue, 19 Oct 2004 05:10:38 +0000 (-0700) Subject: [PATCH] wait_for_sysfs update for dm devices X-Git-Tag: 040~3 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=3b2382de5192057d4c3ac25ddce9c70348d756f9;p=elogind.git [PATCH] wait_for_sysfs update for dm devices Hi, I got these when creating LVM2 snapshots: ,---- | Oct 17 04:23:09 server wait_for_sysfs[5120]: error: wait_for_sysfs needs an update to handle the device '/block/dm-6' properly, please report to | Oct 17 04:23:09 server wait_for_sysfs[5129]: error: wait_for_sysfs needs an update to handle the device '/block/dm-6' properly, please report to | Oct 17 04:23:09 server wait_for_sysfs[5131]: error: wait_for_sysfs needs an update to handle the device '/block/dm-7' properly, please report to | [...] `---- --- diff --git a/wait_for_sysfs.c b/wait_for_sysfs.c index 8f142f488..b6de3947c 100644 --- a/wait_for_sysfs.c +++ b/wait_for_sysfs.c @@ -147,6 +147,7 @@ static int class_device_expect_no_device_link(struct sysfs_class_device *class_d { .subsystem = "block", .device = "pf" }, { .subsystem = "block", .device = "scd" }, { .subsystem = "block", .device = "ubd" }, + { .subsystem = "block", .device = "dm-" }, { .subsystem = "input", .device = "event" }, { .subsystem = "input", .device = "mice" }, { .subsystem = "input", .device = "mouse" },