[plug] On the subject of USB sticks

David Dartnall darts at dialix.com.au
Mon Jun 16 14:35:00 WST 2008


Tomasz Grzegurzko wrote:
> On Mon, Jun 16, 2008 at 11:03 AM, David Dartnall <darts at dialix.com.au> wrote:
>   
>> I have one that refuses to mount with the error message:
>>
>>   mount_point cannot contain the following characters:
>>   newline, G_DIR_SEPARATOR(usually /)
>>
>> I know (as has been pointed out) that they're cheap, but
>> it would be interesting to find out what's happening here.
>> Note that all other keys in my possession mount ok...
>>
>> Regards
>> Dave Dartnall
>>     
>
> I think with automounting now available in linux systems, they call
> the mount point of the device you've plugged in based on the device
> you're trying to mount. So if I have a "USBDISK" then I'll often get a
> mount point under /media called /media/USBDISK.
>
> My guess is your device has a ' ' or a '/' or a '\n' in this
> description, and that's why it's not mounting.
>
> You can try to mount it yourself by device node (/dev/sdb perhaps)
> under some fixed no-funny-characters mount point like so:
> # mkdir /tmp/mountpoint && sudo mount /dev/sdb1 /tmp/mountpoint
>
> Tomasz
>   
Thanks Tomasz you're right, it can be mounted as described at 
/tmp/mountpoint but it's locked, only accessible as root, and it will 
not automount.
It's brother automounts rw at /media/Imation USB (note the space) and 
provides that mount point which disappears when unmounted.
I note your comments too, thank you Mike - I've tried repartitioning and 
change of file type - this can (must) be done unmounted - and that 
didn't help. I'll try renaming under XP after sending this; I have to 
reboot to do that

Regards
Dave



More information about the plug mailing list