Click to See Complete Forum and Search --> : Long filenames "massacred" by Linux


x
01-10-2001, 10:55 AM
When I access a FAT16-partition Linux only accepts short (8.3) filenames, which unfortunately I noticed too late...
What can I do to get Linux to accept long filenames? (On ext2-partitions there is no problem with long filenames.)

mdwatts
01-10-2001, 11:00 AM
You need vfat support in your kernel. Not sure if it can be loaded as a module or not.

mangeli
01-10-2001, 11:13 AM
What version of Linux are you running?

mrBen
01-10-2001, 11:27 AM
What filesystem is your fat partition mounted under? If you have the vfat module as mentioned above, it may still be that it's mounted as type msdos, which I don't think supports long filenames. Check in /etc/fstab

HTH

------------------
mrBen

x
01-10-2001, 11:30 AM
I have tried using LoopLinux, RedHat 6.2 & Slackware 7.1 - it's the same.
Linux sure isn't faster than Win98 on everything, but when it comes to moving or copying directories there is a HUGE difference! So I hope to find a solution. As far as I know Vfat support should exist in these kernels?

ph34r
01-10-2001, 11:39 AM
Yah, I have had no probs with long filenames on a FAT partition, using Redhat 5.x, 6.x, Slack 7.x, or LFS....

Try mounting manually as type vfat


mount -t vfat /dev/hda1 /mnt/windows


Assuming of course that your really want to mount your first partition on your first drive to the /mnt/windows directory...

x
01-10-2001, 04:52 PM
That did it! The partitions were mounted as msdos, changing to vfat solved my problem.
Thanks all who answered!
Peter H.