* Re: Hotplug with Kernel 2.6
2004-03-15 9:27 Hotplug with Kernel 2.6 Christoph Pleger
@ 2004-03-15 7:45 ` Daniel Drake
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Drake @ 2004-03-15 7:45 UTC (permalink / raw)
To: Christoph Pleger; +Cc: linux-kernel
Hi,
Christoph Pleger wrote:
> 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?
Not a direct answer to your question, but you might want to try udev. You can
set up rules so that your USB storage device always becomes /dev/usb_hard_disk
or another name of your choosing (as well as the automatic /dev/sdX).
Daniel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Hotplug with Kernel 2.6
@ 2004-03-15 9:27 Christoph Pleger
2004-03-15 7:45 ` Daniel Drake
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Pleger @ 2004-03-15 9:27 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-15 9:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-15 9:27 Hotplug with Kernel 2.6 Christoph Pleger
2004-03-15 7:45 ` Daniel Drake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).