On Mon, 2 Aug 2004, Photon Software (Marko [iso-8859-15] Röder) wrote:

> Hi,
> 
> can anyone tell me how to determine the device (/dev/sdX) to mount a specific 
> usb hard disk? At moment I only have the output from /proc/bus/usb/devices 
> where I can have a look, whether the specific hard disk is plugged in or not. 
> But from there I don't know how to find the correct device to mount it.
> 
> Marko

You actually have a lot more than /proc/bus/usb/devices.  There's the 
system log showing the /dev/sdX device created when the disk was 
connected.  There's the contents of /proc/scsi.  There's sysfs, in 
particular /sys/class/scsi_host/...  There's even a hotplug event that 
occurs at the time the disk is plugged in.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to