Filename errors whe copying to USB storage

Samir Mohamed el Mustafa samir.elmustafa at gmail.com
Tue Apr 26 05:01:46 UTC 2005


----- Original Message ----- 
From: "Thomas Kaiser" <thomas at kaiser.linux-site.net>
To: "Ubuntu Help and User Discussions" <ubuntu-users at lists.ubuntu.com>
Sent: Monday, April 25, 2005 8:29 PM
Subject: Re: Filename errors whe copying to USB storage


>
>
> TuringTest wrote:
>> I have a 256Mb USB Mp3 player, formated with vfat filesystem. When 
>> copying files to it, either with Nautilus or the command line, it changes 
>> the filename to the old 8:3 MS-DOS format.
>>
>> The problem is when I copy several files wich have the same 8 first 
>> letters -
>> for example:
>>
>> gloria_estefan-01-con_los_anos_que_me_quedan.mp3
>> gloria_estefan-02-como_me_duele_perderte.mp3
>> gloria_estefan-03-tu_fotografia.mp3
>> gloria_estefan-04-en_el_jardin_(feat_alejandro_fernande.mp3
>> gloria_estefan-05-no_pretendo.mp3
>> ...
>>
>> It generates only one file, with the name:
>>
>> gloria_e.mp3
>>
>> It contains the last copied file. Any later attempt to copy another file 
>> with
>> the same first letters just replaces the contents of this file with the 
>> new one.
>>
>> I've tried it in two computers, both with the latest Hoary upgraded from 
>> Warty.
>>
>> I've filed a bug report to the Ubuntu bugzilla:
>> https://bugzilla.ubuntu.com/show_bug.cgi?id=10119
>>
>> Is there a solution for this error? Could I somehow mount it manually 
>> specifying
>> the vfat system so that it recognize it?
>>
>>
>
> I do it like this:
>
> sudo mount -t vfat /dev/sdd1 /mnt/mp3
>
> You have to replace /dev/sdd1 to the device which is for your mp3 player. 
> If it is the only USB mass-storage device, it should be /dev/sda1.
>
> Regards, Thomas
>
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users

as root edit the /etc/fstab file and the below line if it is missing:
/dev/sda1    /media/usbstorage    vfat    rw,user,noatime    0    0

If vfat is set to auto or msdos for usbstorage, you will have MS-DOS format 
name form.
Adding the above makes it easier to mount to umount. You just have to type:
> mount /media/usbstorage    umount /media/usbstorafe

Enjoy Linux! 





More information about the ubuntu-users mailing list