Hello,
I have configured DM6467T DVEVM board to use USB as a host. After I plug in USB drive to the socket, udev automounts it without any problems as /dev/sda1 to /media/sda1, and I can work with the drive. However, if I pull out the drive, automounting hangs, the device is still listed as mounted, and the processes accessing it ([usb_storage], [scsi_eh_1] are still active. Changing umount flags to -f solves the problem partially. In this case only [scsi_eh_1] stays active, but the /dev/sda1 is still listed as mounted, so if I plug in the stick again, it will be mounted as /dev/sdb1 which is apparently quite inconvenient.
Does anyone know how to deal with this situation, i.e. to remove all traces of the USB device after its unplugged from the board?
Alex