Im currently running Kernel 2.4.19 in RH7.3.

When I mount a USB-memory device an entry appears in the /proc/scsi
area that does not go away when I remove the USB device.

When I mount a DIFFERENT USB-memory device, a second entry appears.

So, I cant just put in a line in /etc/fstab like

        mount /dev/sda1 /mnt/usb-memory

Since the device I am trying to use MAY have been the 2nd to have been
initially used and now appear on /dev/sdb1.

And it gets more complicated.

If I have done a
        cdrecord -scanbus

before mounting any USB-memory device,
my machine will 'see' my (real) SCSI CD-Writer at /dev/sda5, and
push the two USB devices down to sdb1 and sdc1 IN ITS LISTING.
when they get mounted.

[ If I use the USB-memory BEFORE doing the cdrecord -scanbus  the
  CD-Record device does not appear, and appears to be lost forever,X
  or at least till the next reboot...]

However, trying to MOUNT them as sdb1 or sdc1 fails, they in fact are
still at sda1 and sdb1 (sigh).  So the info in /proc/scsi is WRONG.

SO, How's a person to discover where the USB-memory device REALLY is?

About the only thing that comes to mind (since /proc/scsi is not reliable)
would be a for loop over all possible devices, and I consider that just
plain UGLY...

                                        Reg.Clemens
                                        [EMAIL PROTECTED]


-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving 
your online business a competitive advantage. Test-drive a Thawte SSL 
certificate - our easy online guide will show you how. Click here to get 
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to