media automount fails to remove mountpoint on umount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
I have a 6th gen iPod, formatted from a Macintosh with iTunes, with the volume name "Chris's iPod".
When I plug it in via USB, it is correctly automounted in "/media/Chris's iPod/" and works fine. When I eject the device, every again functions fine, except that the empty mountpoint directory "/media/Chris's iPod/" is left behind.
On each subsequent automount, a new mountpoint directory is created by appending a "_" - i.e. "/media/Chris's iPod_/", "/media/Chris's iPod__/", "/media/Chris's iPod___". This quickly becomes messy. Manually removing the empty directories fixes this, but clearly this shouldn't be necessary.
I suspect the unmounting script is having a problem with the single quote character and/or the space character in the volume name.
Correction: On further inspection, the volume name and mountpoint name is "Chris’s iPod" - note the difference between "’" and "'".