The following reply was made to PR misc/165140; it has been noted by GNATS.
From: Andriy Gapon <a...@freebsd.org> To: Thor Ablestar <t...@irk.ru> Cc: bug-follo...@freebsd.org Subject: Re: misc/165140: mount_msdosfs -W koi2dos cannot read file No. Date: Wed, 15 Feb 2012 17:04:36 +0200 on 15/02/2012 15:53 Thor Ablestar said the following: > >> Right. You have to use UTF-8 locale. >> > 1. Do I understand correctly that /usr/src/sbin/mount_msdosfs/mount_msdosfs.c > takes the conversion table from /usr/ports/converters/libiconv ? Well, as unexpected as it is, the answer is yes. mount_msdosfs uses libkiconv(3) which dlopen()s libiconv.so, which is not provided by the base system and thus has to come from a thirdparty, typically the iconv port. We already have a BSD-licensed iconv in the src tree, but it is not connected to the build yet. > 2. As I understand, accessibility of the file containing "No." in it's name > depends entirely on -L argument for mount_msdosfs command, and not on > LC_CTYPE. That -L controls how the OS internally represents the file names on the filesystem. > The filenames may LOOK differently but the files are still accessible under > their > garbaged names. Locale controls output and input of characters. -- Andriy Gapon _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"