Hi. On Jul 01 2009, Hans-Georg Bork wrote: > I didn't use my USB-disk for two or three months now, but I know that > I never had any trouble ... in the meantime usbmount 0.0.17 came out > and I believe there is where the trouble starts.
Right. It seems that some change in udev has caused some problems with usbmount. I'll try to pin down this. > Unfortunately usbmount 0.0.16 isn't available anymore in debian > repositories, so I cannot doublecheck if it works with that. You can get the usbmount versions from the svn repository that I'm maintaining. Please, use: svn co svn://svn.debian.org/usbmount/ You can see all the tagged versions there. If you can't, please, let me know and I see if I can arrange to create some test packages. > My USB-disk (not flash) has two partitions: 1. vfat 2. ext3. Both > partitions are recognized and have no errors. Right. It is strange, but I had a problem quite similar to this one with some udev versions, but I can't reproduce the problem anymore (I'm using sid here, with, perhaps, some updated udev). Can you still reproduce things with udev + usbmount from sid? > When the disk is connected, it is recognized and usbmount mounts them > with correct FS types, but both partitions on the exact same location > (/media/usb0): > > -------- excerpt from /var/log/syslog -------- > Jul 1 00:55:06 sokrates usbmount[21916]: mountpoint /media/usb0 is available > for /dev/sdb2 > Jul 1 00:55:06 sokrates usbmount[21920]: mountpoint /media/usb0 is available > for /dev/sdb1 > -------- end excerpt from /var/log/syslog -------- > > It seems that usbmount is in a race when checking the available > mountpoint and find it both times available ... it's just a matter of > luck which partition is mounted first. This might lead to data loss, > since a standard user might not recognize that there is such problem. Yes, it seems that there is some race condition somewhere and I will try to check with lockfile-progs what can be done. Thanks for your bugreport, Rogério Brito. P.S.: Just out of curiosity, which program do you use to report bugs? I see it is different from what my reportbug program uses to list the packages dependencies... -- Rogério Brito : rbr...@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org