I have broken something,>:( and would like help to fix it – I was trying to set a particular mount point for my USB drive (via Nautilus, I believe) and made the mistake of putting a full path name so that now I get Cannot mount volue alert reporting that
G_DIR_SEPARATOR is the problem.
I get this error as soon as I plug in the device and don’t seem to be able to find where to ‘undo’ this. Help?
I can mount it manually, but as root, and dmesg doesn’t report anything amiss. I can’t find anything in my fstab that should be resonible (pasted below).
I have searched, but the posts don’t specifically tell me how to undo it (and I have too many fires to spend the rest of the day hunting, so your patience and help is GREATLY appreciated).
Thanks for the reply. (I know that my detail was somewhat lacking:).
As for what I was doing (winging it) – I am using the USB to xfer a application from the PC to an embedded device running linux. I grew weary using Nautilus to have the USB mounted so that I could find it, and was hunting through Nautilus to find out where it was really mounted. I found /media/kingston and wanted to make that ‘permanent’ and there was an entry via Nautilus (I’m 90% sure) that allowed me to specify a place to mount it. I stupidly put a slash in the name (e.g., /media/USB) and now it is hosed. Everytime I plug in the USB device, it complains about the G_DIR_SEPARATOR error.
I (would like to) believe that there is config file somewhere that I can edit to remove the damage that I have done – is there? where?
Thanks to all – I really appreciate it. I was / am rather frustrated and angry with myself over pilot error, but would really appreciate any help to revert the damage.
no observable effect.
I rebooted, the files were gone (even the *_old versions).
I inserted the USB device, got the error message and the .hal-mtab-lock file returned. deleting that file and re-inserting the device resulted in same error G_DIR_SEP…
Use mtools to set your USB key volume name without needing to reformat it, set the name without any fancy characters (especially not a slash) - I suggest “disk” and then it should mount OK.
I suspect you’ve somehow named the USB key /foo/bar or whatever.
If you can reformat it, do a man mkfs.vfat and set the volume name when you format the USB key.