On Wednesday 05 November 2003 12:41, Oliver Lemke wrote:
> On Wed, 2003-11-05 at 09:13, Andrey Borzenkov wrote:
> > Slightly offtopic. Do you have problems with "media change detection" on
> > USB stick? I had report (and verified) that when you unplug stick, change
> > contents on otehr system and plug back again supermount does not detect
> > media change and does not remount it. I.e. new contents or changed
> > contents is not visible.
> >
> > This is because sd skips media change check unless device is removable.
>
> Nope, that is working fine here.
hmm ... I wonder if I did something wrong or it has changed recently. Now my
USB stick appears as removable device but I definitely remember that under
2.4 (do not rememeber exact version) I tested it and it was never remounted.
> Other problem is when I connect two
> different usb sticks one after the other. Plugging in the first one
> creates /dev/{sda,sda1}. After removing it and plugging in another stick
> /dev/{sdb,sdb1} are created and mount point is /mnt/removable2.
> Doing a rmmod usb-storage before inserting the second stick fixes that.
it is not a bug it is by design :) In 2.4 kernel keeps track of USB UUIDs and
reserves once allocated host number in case you insert it again so it gets
the same device. So it is not a bug it is a feature :)
2.6 drops it completely in favor of user-level tools that currently do not
seem to exist (in a form suitable for deployment in real world that is).
-andrey