===== udev.c 1.61 vs edited ===== --- 1.61/udev.c 2004-09-07 17:48:42 +02:00 +++ edited/udev.c 2004-09-14 02:25:32 +02:00 @@ -122,7 +122,7 @@ int main(int argc, char *argv[], char *e dbg("looking at '%s'", devpath); /* we only care about class devices and block stuff */ - if (strstr(devpath, "class") && strstr(devpath, "block")) { + if (!strstr(devpath, "class") && !strstr(devpath, "block")) { dbg("not a block or class device"); goto exit; }