Bug #550
closed
Pulling USB media stick may not cause umount
Added by Hammel about 8 years ago.
Updated almost 8 years ago.
Category:
04 - Root File System
Description
I seem to have left over mounts of USB sticks after they have been pulled. The event processing must not be working.
- % Done changed from 0 to 30
I think the problem here is this line in blockhandler.sh:
BASE=/media/
It should be
BASE=/media
The way it is now leaves an entry like this in STATEF:
/media//usb/sdb1
When the remove searches for this the double slashes fail so the umount doesn't run. If it isn't BASE then it's related to having that trailing slash on BASE.
Need test this on hardware to make sure that's the problem.
- % Done changed from 30 to 70
That worked. Will check in the change later.
- Status changed from New to Closed
- % Done changed from 70 to 100
Committed and pushed. Closing issue.
Also available in: Atom
PDF