linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Linux-hotplug-devel digest, Vol 1 #499 - 4 msgs
@ 2003-12-02  0:23 Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2003-12-02  0:23 UTC (permalink / raw)
  To: linux-hotplug

On Sun, Nov 30, 2003 at 11:04:30AM -0800, Martin wrote:
> Marco d'Itri <md@Linux.IT> wrote:
> > You really want to use a 2.6 kernel. In sysfs you will find 
> everything needed to automatically mount your device.
> 
> Unfortunately I am really doing this for my Cobalt RAQ3 which uses a 2.4 
> kernel. 2.6 is not an option at this point.
> Anyway can someone answer my core question?
> 
> >T:  Bus\x01 Lev\x01 Prnt\x01 Port\x01 Cnt\x02 Dev#=  6 Spd\x12  MxCh= 0
> >
> > Does the Port\x01 correspond to the usb-storage-? directory in
> 
> >/proc/scsi?

Not at all.  See the Documentation/usb/proc_usb_info.txt for what that
file describes.

greg k-h


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: Linux-hotplug-devel digest, Vol 1 #499 - 4 msgs
@ 2003-11-30 19:04 Martin
  0 siblings, 0 replies; 2+ messages in thread
From: Martin @ 2003-11-30 19:04 UTC (permalink / raw)
  To: linux-hotplug

Marco d'Itri <md@Linux.IT> wrote:
 > You really want to use a 2.6 kernel. In sysfs you will find 
everything needed to automatically mount your device.

Unfortunately I am really doing this for my Cobalt RAQ3 which uses a 2.4 
kernel. 2.6 is not an option at this point.
Anyway can someone answer my core question?

>T:  Bus\x01 Lev\x01 Prnt\x01 Port\x01 Cnt\x02 Dev#=  6 Spd\x12  MxCh= 0
>
 > Does the Port\x01 correspond to the usb-storage-? directory in

>/proc/scsi? That is the only number which seems to have gone from 0 to 
>1. I only have two flash devices so I can't tell for sure by installing 
>another one. The new device has an entry in usb-storage-1/2 rather than 
>1/1 as I would have suspected. The Cnt\x02 leads me to believe that Port 
>becomes the usb-storage-? directory and Cnt becomes the filename under 
>that directory. Are my assumptions correct? If so I can do away with 
>most of my nonsense about the serial number, it was just the first thing 
>I came up with.
>
If I'm right about this, then my script should be easy to write, in 
terms of mounting. I still don't get the remove message so I'm going to 
have to come up with some other mechanism for handling removal, I guess.



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-02  0:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-02  0:23 Linux-hotplug-devel digest, Vol 1 #499 - 4 msgs Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2003-11-30 19:04 Martin

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).