Bugzilla – Bug 106604
Unplug of USB mass storage device did not remove mount
Last modified: 2006-01-02 12:21:54 UTC
I noticed this during attempts to write to /media/MOVING_CHIP (the volume name is ok) which did not work. Instead, the hotplug system created and mounted /media/MOVING_CHIP_1 for the second, third, etc. plugin events, no errors on that. The device itself is ok, works properly on 9.3, Windows, ...
Created attachment 47073 [details] Output of lsusb & mount *after* the device has been removed
I removed the mount point manually and replugged the device: No reaction (the devices's LEDs flashed a couple of times...) Manual mount works fine, the problem is cured with a reboot. BTW, the storage device is a 0c76:0005.
Can you reproduce that? If: please add output of lshal and the part of /var/log/ messages since the last (re)boot. If you can't reproduce this behavior, please close the bug
Created attachment 47084 [details] Output of 'lshal'
Created attachment 47086 [details] "/var/log/messages" after ladt reboot
Slightly different behaviour this time: The mount point existed after unplugging the device as described. This time, the next plugin event re-used the mountpoint and I could access the device.
Please plugout the device. If the mountpoint is already present, please remove them manually. The correct behavior should be: If the device is added a mountpoit should be created if needed. If you remove this device, also all from hald-subfs-mount created mountpoints for this device get removed. If you shut down and plugout the device and reboot hald-subfs-mount should remove normally the unneeded mountpoints with the next mount/call. Please test this (plug out, remove (if not removed automatically) the mountpoint, replug the device, check for new mount points. if you now plugout all new created mountpoints should be removed.).
closed.