USB mounting of device with space in name.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-volume-manager (Ubuntu) |
Invalid
|
Low
|
Martin Pitt |
Bug Description
I just inserted a usb stick of a friend in my computer, and I'm happy to see it
was instantly mounted. Great work!
The problem is, however, right after inserting the usb stick gnome tries to show
the contents of the device (which is good), but it fails; a gnome popup showed:
====== Can't display location ==========
Couldn't find "/media/NO040NAME".
Please check the spelling and try again.
=======
This is because the device is accessible under "/media/NO NAME/", with both the
terminal and nautilus. The "computer" window which lists cdrom, filesystem,
etcetera now also shows "NO NAME" as added device. I don't know why it's called
like that, but it is.
It looks like the space in the directory name is mapped to "040", and I think
that's a bug.
Some low-level stuff is involved, as /proc/mount shows:
/dev/sdb1 /media/NO\040NAME vfat
rw,sync,
0 0
This bug has been marked as a duplicate of bug 10777.