Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jul 2014 22:18:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 191540] the FAT32 implementation bugs out on Unicode file names
Message-ID:  <bug-191540-8-ouJnU8ahBk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191540-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191540

--- Comment #2 from dt71@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191540-8-ouJnU8ahBk>