USB mounting of device with space in name.

Bug #11233 reported by Eric Feliksik
8
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,noatime,nodiratime,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0007,dmask=0007
0 0

Revision history for this message
Martin Pitt (pitti) wrote :

This bug has been marked as a duplicate of bug 10777.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.