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/>
References:  <bug-191540-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D191540

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

Create and mount a FAT32 partition:
# dd if=3D/dev/zero of=3Dspace bs=3D1m count=3D4
# 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=E2=80=99.txt: Can't create '1=E2=80=99.txt'
x 2=E2=80=93.txt: Can't create '2=E2=80=93.txt'

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

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

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



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