misc/165140: mount_msdosfs -W koi2dos cannot read file No.

Anatoly Mashanov thor at irk.ru
Tue Feb 14 16:20:11 UTC 2012

>Number:         165140
>Category:       misc
>Synopsis:       mount_msdosfs -W koi2dos cannot read file No.
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 14 16:20:10 UTC 2012
>Originator:     Anatoly Mashanov
>Release:        9.0-RELEASE
FreeBSD dream 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Thu Jan 12 00:54:02 IRKT 2012     root at dream:/usr/src/sys/i386/compile/DARKNESS  i386
When I mount a flash drive with Windows FAT-32 filesystem containing files whose names contain a "№" (No.) symbol CP1251=0xb9,  these files cannot be accessed. File is seen in listing with "?" instead of "№". Message is "Cannot stat". Keys -W koi2dos or -L ru_RU.KOI8-R don't help.

This problem has meen met before and resolved with creating a custom /somewhere/in/filesystem/koi2dos file remapping a number sign to copyright sign, but mount_msdos doesn't seem to read such file now.
Create under Windows a flash drive containing a single file named "файл №1" (Translated: "File No.1") and try to access it under FreeBSD
No idea. Maybe find a prehistoric version of FreeBSD and take a working mount_msdosfs from here?


More information about the freebsd-bugs mailing list