LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   USB filetranfer name chop (https://www.linuxquestions.org/questions/linux-software-2/usb-filetranfer-name-chop-315898/)

Doolspin 04-21-2005 09:55 PM

USB filetranfer name chop
 
Anyone know why when I transfer something to my thumbdrive it chops the filename and turns it all upper-case?

mjrich 04-21-2005 11:56 PM

At a guess, mount is guessing the wrong filesystem for the thumdrive -- Umsdos rather than Vfat. Run mount (no arguments) after mounting your drive, and check what it's being mounted as.

Most likely, you'll need to change the thumbdrive entry in /etc/fstab from auto to vfat, e.g.
Code:

/dev/sda1    /usbdrive    vfat  rw,user,noauto,umask=0000  0  0
Cheers,

mj

mcleodnine 04-22-2005 01:51 AM

Yeah - some of the pendrives/MP3 players + kernel combos I've used in the past have assumed a FAT filesystem, causing the ever lovely MYFILE~1.TXT to be written :(

Use the fstab options mentioned above or just mount with 'mount -t vfat /dev/foo /mnt/target'

Doolspin 04-22-2005 02:52 PM

Thanks you two.


All times are GMT -5. The time now is 05:40 AM.