Package: usbmount
Severity: normal

Hello,

I tested Jan's patch with a flash drive that has 12 partitions on it.
The original position of the locking code just at the beginning of the
"add" handler will usually only be able to mount 3 to 4 partitions on my
machine before lockfile-create will give up.  Jan has proposed a more
logical position right before usbmount actually deals with the outside
world - putting the locking code there (as a whole or as a function
call) will consistently yield the expected usbmount behaviour: mounting
of all 12 partitions.

This solution doesn't scale very well either, though, because we're
using `lockfile-create --retry 3` which waits in fixed time intervals
between retries (+5sec on every retry, ie 15sec after the third try),
thus increasing the likelihood of deadlocks.  In my
12-partition-scenario, the last partitions get sometimes mounted in the
third (and last) retry cycle of lockfile-create (after ~30 sec).

In any case, we should adopt Jan's patch, thereby closing this bug for
n-in-1 devices where n < 10.

Regards,
  Hagen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to