Let me add some notes that help to understand vold and to fix hald..... Using O_EXCL is definitely not the right solution.
The right way to deal with this hald induced problem is to change hald to not access the drive later than 3 seconds after a medium change indication has been reveived and in any othe case not to send any SCSI command other than INQUIRY and TEST_UNIT_READY. Note that even INQUIRY and TEST_UNIT_READY should not be issued more than once every 3 seconds. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily