[Bug 191540] the FAT32 implementation bugs out on Unicode file names

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 1 22:18:19 UTC 2014


--- Comment #2 from dt71 at gmx.com ---
To reproduce:

Create and mount a FAT32 partition:
# dd if=/dev/zero of=space bs=1m count=4
# mdconfig -a -u 7 -t vnode -f space
# newfs_msdos -F 32 /dev/md7
# mkdir fat
# mount -t msdosfs /dev/md7 fat

Attempt to create files with fancy names on the partition:
# cd fat
# tar -vxf ../files.zip
The output is:
x 1’.txt: Can't create '1’.txt'
x 2–.txt: Can't create '2–.txt'

Other file access can also be attempted, eg.:
(The "–" is a Unicode "en dash".)
# stat –
The output is:
stat: –: stat: Invalid argument

Clean up (optional):
# cd ..
# umount fat
# rmdir fat
# mdconfig -d -u 7
# rm space

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list