Under 2.4, you need to unload the usb-storage module.  Under 2.6, this
doesn't happen under the control of usb-storage -- it happens under the
control of the SCSI layer.

The SCSI layer under 2.6 will issue the 'next' /dev node to each new
device, until they roll over to the beginning again.  It's the same
philosophy as used to assign process-ID numbers.

In order to create the mountpoints as you want, you need to use the hotplug
scripts.

Matt

On Sun, Jun 20, 2004 at 06:20:21PM -0700, Stephen J. Gowdy wrote:
> Probably unloading the usb-storage module would do that.
> 
> On Sun, 20 Jun 2004, Jeff wrote:
> 
> > I notice that when plugging in mass storage devices like cameras and
> > memory card readers, they go to /dev/sdxx. Like I have an SD/MMC card
> > reader and when plugged in it goes to /dev/sda1 and it now seems to be
> > registered to that device.
> >
> > When you plug in new devices like a camera or X-D card reader they get
> > the next letter, sdb1, sdc1, etc and that is registered for that device
> > for then on. Which is ok as it lets you create mount points with unique
> > names like /mnt/mmc or /mnt/xd, etc and place them in /etc/fstab since
> > they always get the same /dev/sdx1.
> >
> > But, how do you free up one or all of those remembered /dev's? Like I
> > plugged in a couple of cameras I will never use again (was tryting
> > before I bought) and now the /dev/sdb1 and /dev/sdc1 are not available
> > to allow another to use.
> >
> > So, where would I go and what would I do to remove the lock the cameras
> > had on them?
> >
> > alfred
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> > _______________________________________________
> > [EMAIL PROTECTED]
> > To unsubscribe, use the last form field at:
> > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
> >
> 
> --
>  /------------------------------------+-------------------------\
> |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 The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

NYET! The evil stops here!
                                        -- Pitr
User Friendly, 6/22/1998

Attachment: pgpq5TmbLfVU3.pgp
Description: PGP signature

Reply via email to