Hotplug with Kernel 2.6

From: Christoph Pleger
Date: Mon Mar 15 2004 - 04:29:08 EST


Hello,

When I hotplug (or unplug) a USB mass storage device, I want to find out
which SCSI device (for example, /dev/sda or /dev/sdb) is (was) assigned
to that USB Device. Is it possible to do that with the help of the
variables which are passed to the hotplug scripts by the kernel?

Christoph
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/