Filenames on msdos fs get an extra char

Max Herrgard herrgard at gmail.com
Thu Mar 17 11:20:31 PDT 2011


Hi,

Funny problem here. In /mnt I have an usb memory stick with msdos fs 
(fat32) on mounted. Box is latest master.

# touch a
# ls a*
aa
# mv aa b
# ls b*
ls: No match.
# ls b
b
# ls
bb
# rm bb
rm: bb: No such file or directory
If I remount I can remove bb. With *only* digits in the filename it works:

# touch 1
# ls 1*
1
# mv 1 2
# ls 2*
2
Anyone else seeing this? Kind of annoying when you use msdos fs to move 
files to OSes/programs that use the filename extension to recognize file 
types.

//Max





More information about the Bugs mailing list