Not that I know of (doesn't mean there isn't though). It keeps track of
these devices so you can plug it in again without too much overhead.

On Mon, 8 Nov 2004, jong jong wrote:

> Well, currently I configured it as part of kernel
> instead of module..... :-(
>
> But anyway, if on an embedded device, there are only
> limited device nodes, how to tell the kernel to
> release the device node when a usb storage device is
> disconnected?  Obviously in kernel, usb driver knows
> when a specific device is unplugged and scsi driver
> knows a sd unit is detached, so is there any way we
> can release the specific device node and reuse it next
> time?
>
> Thanks
>
> John
> --- "Stephen J. Gowdy" <[EMAIL PROTECTED]>
> wrote:
>
> > You can unload the usb-storage driver.
> >
> > On Mon, 8 Nov 2004, jong jong wrote:
> >
> > > Hi, All,
> > >
> > > I successfully configured everything, everything
> > runs
> > > fine.  However, I noticed an interesting thing
> > about
> > > the usb hotplug.
> > >
> > > My PC runs 24 hours a day.  Many times I will use
> > a
> > > usb storage key to transfer data from my friends.
> > I
> > > noticed everytime if I use a different usb key,
> > then I
> > > will need to use a new device node /dev/sdaX.
> > >
> > > For example, if I plug in my usb key, I will need
> > to
> > > use /dev/sda1.  Then I unplug mine and plug in my
> > > friend's usb key, then I will need to use
> > /dev/sdb1.
> > > And if I try another one then it will need to use
> > > /dev/sdc1....
> > >
> > > My question is: is there a way when I unplug the
> > usb
> > > key, the usb module and scsi bus can be reset, so
> > that
> > > the same device node can be released and it can be
> > > reused next time??  So after I unplug my usb key
> > and
> > > plug in my friend's it still uses /dev/sda1.
> > >
> > > Thanks
> > >
> > > John
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > >
> > >
> > >
> >
> -------------------------------------------------------
> > > This SF.Net email is sponsored by:
> > > Sybase ASE Linux Express Edition - download now
> > for FREE
> > > LinuxWorld Reader's Choice Award Winner for best
> > database on Linux.
> > >
> >
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> > > _______________________________________________
> > > [EMAIL PROTECTED]
> > > To unsubscribe, use the last form field at:
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users
> > >
> >
> > --
> >
> >
> /------------------------------------+-------------------------\
> > |Stephen J. Gowdy                     | SLAC,
> > MailStop 34,       |
> > |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand
> > Hill Road,     |
> > |http://calendar.yahoo.com/gowdy      | Menlo Park
> > CA 94025, USA |
> > |EMail: [EMAIL PROTECTED]       | Tel: +1 650
> > 926 3144     |
> >
> >
> \------------------------------------+-------------------------/
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>
>

--
 /------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
 \------------------------------------+-------------------------/


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to