* Program map for USB devices
@ 2003-12-17 14:48 Dirk Heinrichs
2003-12-17 15:37 ` Derrell.Lipman
0 siblings, 1 reply; 3+ messages in thread
From: Dirk Heinrichs @ 2003-12-17 14:48 UTC (permalink / raw)
To: autofs
[-- Attachment #1.1: Type: text/plain, Size: 648 bytes --]
Hi,
I've got several USB devices which are all accessed as SCSI disc through the
usb-storage driver. Since the device node they are attached to depends on
plugin order, I need to know how to find out which hardware is attached to
which /dev/sd*, so that I can write a program map.
Any hints?
Thanx...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)151 1513 6954
Configuration Manager | Fax: +49 (0)211 47068 111
Cap Gemini Ernst & Young| Mail: dirk.heinrichs@cgey.com
Hambornerstraße 55 | Web: http://www.cgey.com
D-40472 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
[-- Attachment #1.2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 140 bytes --]
_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Program map for USB devices
2003-12-17 14:48 Program map for USB devices Dirk Heinrichs
@ 2003-12-17 15:37 ` Derrell.Lipman
2003-12-17 15:59 ` Ruslan U. Zakirov
0 siblings, 1 reply; 3+ messages in thread
From: Derrell.Lipman @ 2003-12-17 15:37 UTC (permalink / raw)
To: Dirk Heinrichs; +Cc: autofs
Dirk Heinrichs <ext-dirk.heinrichs@nokia.com> writes:
> I've got several USB devices which are all accessed as SCSI disc through the
> usb-storage driver. Since the device node they are attached to depends on
> plugin order, I need to know how to find out which hardware is attached to
> which /dev/sd*, so that I can write a program map.
Your program map could look at /proc/scsi/* to determine what's what.
Derrell
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Program map for USB devices
2003-12-17 15:37 ` Derrell.Lipman
@ 2003-12-17 15:59 ` Ruslan U. Zakirov
0 siblings, 0 replies; 3+ messages in thread
From: Ruslan U. Zakirov @ 2003-12-17 15:59 UTC (permalink / raw)
To: Derrell.Lipman; +Cc: autofs
Derrell.Lipman@unwireduniverse.com wrote:
> Dirk Heinrichs <ext-dirk.heinrichs@nokia.com> writes:
>
>
>>I've got several USB devices which are all accessed as SCSI disc through the
>>usb-storage driver. Since the device node they are attached to depends on
>>plugin order, I need to know how to find out which hardware is attached to
>>which /dev/sd*, so that I can write a program map.
>
>
> Your program map could look at /proc/scsi/* to determine what's what.
>
> Derrell
First of all look at `mount` for mount point of procfs(type proc).
For 2.6 kernels, as i think, you also could look into new sysfs for
needed info.
Good luck. Ruslan.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-17 15:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-17 14:48 Program map for USB devices Dirk Heinrichs
2003-12-17 15:37 ` Derrell.Lipman
2003-12-17 15:59 ` Ruslan U. Zakirov
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.