Re: strange behaviour with kernel 2.6 and USB mass storage

2004-02-09 Thread Peter Samuelson
[Nicos Gollan] > Wouldn't there be a theoretical problem when the host number reaches > a maximum? Like when I re-plugged the memorystick, say, 256 times? OK, you just made me curious enough to check the source. The SCSI host adapter number is an 'int', meaning it won't overflow until you have p

Re: strange behaviour with kernel 2.6 and USB mass storage

2004-02-09 Thread Nicos Gollan
On Mon, 9 Feb 2004 10:03:12 + Peter Samuelson <[EMAIL PROTECTED]> wrote: > Regardless, the non-devfs name /dev/sda appears to be staying > constant, so the devfs version of that (/dev/discs/something) should > stay constant as well. As such, if you use the /dev/discs/* symlink > (or the/dev/s

Re: strange behaviour with kernel 2.6 and USB mass storage

2004-02-09 Thread Peter Samuelson
[Nicos Gollan] > Now, when I unmount it, remove it from the USB, change the card and > reconnect, I get a new SCSI device at /dev/scsi/host1/..., and so on. > Reconnecting with the same media doesn't help, it's always creating a > new host. I had just written a long email to the effect that this

strange behaviour with kernel 2.6 and USB mass storage

2004-02-07 Thread Nicos Gollan
First off, I know this is not exactly debian related. The problem is that, when I connect a USB storage device (the Olympus XD-card reader MAUSB-100), a SCSI device is created. The first time, it's /dev/scsi/host0/... as expected. I can mount it, copy data and everything. Now, when I unmount it,