mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* catch sda1 or /dev/scsi/host1/bus0/target0/lun0
@ 2004-01-22 15:04 Franck Collineau
  0 siblings, 0 replies; only message in thread
From: Franck Collineau @ 2004-01-22 15:04 UTC (permalink / raw)
  To: linux-kernel

Hello!

When I connect a usb device, dmseg tells me which special file the device is
attached on.
This is sda1 or something like : /dev/scsi/host1/bus0/target0/lun0

I would like to catch this information in a script.
Can anybody tell me how can i do ?
 I think this is a kernel information; how can I get it ?

Thanks for your help.

FRanck


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-22 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-22 15:04 catch sda1 or /dev/scsi/host1/bus0/target0/lun0 Franck Collineau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®