Actions
Bug #550
closedPulling USB media stick may not cause umount
Start date:
18 Sep 2016
Due date:
% Done:
100%
Estimated time:
Severity:
02 - High
Description
I seem to have left over mounts of USB sticks after they have been pulled. The event processing must not be working.
Updated by Hammel almost 8 years ago
- % 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.
Updated by Hammel almost 8 years ago
- % Done changed from 30 to 70
That worked. Will check in the change later.
Updated by Hammel almost 8 years ago
- Status changed from New to Closed
- % Done changed from 70 to 100
Committed and pushed. Closing issue.
Actions