From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 3 20:50:24 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5DDA16A4CE for ; Thu, 3 Feb 2005 20:50:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3654543D5F for ; Thu, 3 Feb 2005 20:50:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j13KoNIh023341 for ; Thu, 3 Feb 2005 20:50:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j13KoNP9023340; Thu, 3 Feb 2005 20:50:23 GMT (envelope-from gnats) Resent-Date: Thu, 3 Feb 2005 20:50:23 GMT Resent-Message-Id: <200502032050.j13KoNP9023340@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Pryanishnikov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BF2616A4CE for ; Thu, 3 Feb 2005 20:46:31 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59BDF43D49 for ; Thu, 3 Feb 2005 20:46:31 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j13KkUBS022847 for ; Thu, 3 Feb 2005 20:46:30 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j13KkUii022846; Thu, 3 Feb 2005 20:46:30 GMT (envelope-from nobody) Message-Id: <200502032046.j13KkUii022846@www.freebsd.org> Date: Thu, 3 Feb 2005 20:46:30 GMT From: Dmitry Pryanishnikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/77074: RELENG_4 -> 5 regression regards msdosfs and KOI8-U X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Feb 2005 20:50:25 -0000 >Number: 77074 >Category: kern >Synopsis: RELENG_4 -> 5 regression regards msdosfs and KOI8-U >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 03 20:50:23 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dmitry Pryanishnikov >Release: 5.3-RELEASE-p2 >Organization: Atlantis ISP >Environment: FreeBSD homelynx.homenet 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Wed Dec 22 01:35:24 EET 2004 root@homelynx.homenet:/usr/obj/usr/src/sys/lynx i386 >Description: 5.3-RELEASE can't handle some characters of the KOI8-U charset in filenames on FAT-32 file system, namely (from RFC2319): 166 A6 U0456 CYRILLIC SMALL LETTER BYELORUSSIAN- UKRAINIAN I 173 AD U0491 CYRILLIC SMALL LETTER GHE WITH UPTURN 182 B6 U0406 CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I 189 BD U0490 CYRILLIC CAPITAL LETTER GHE WITH UPTURN One can create files with those characters in filename under MS Windows or FreeBSD 4.11-RELEASE (filesystem mounted there with additional parameters in fstab: -L=uk_UA.KOI8-U,-W=koi8u2dos), and both systems can access resulting files, Windows doesn't detect violations of disk structure. But when I mount this slice under 5.3-RELEASE (I'm using additional parameters -L=uk_UA.KOI8-U,-D=CP866 as -W deprecated in RELENG_5 and mount_msdosfs internally replaces it whit -D=CP866 anyways), ls -l and other utilities say "ls: X: Invalid argument" where X is a file name with a "forbidden" letter. >How-To-Repeat: Under 4.11-RELEASE: mount FAT-32 partition with uk_UA.KOI8-U locale (-L=uk_UA.KOI8-U,-W=koi8u2dos) and create file with the name, say, Ukrainian I (character code differs from English I). Then reboot to 5.3-RELEASE, mount the same partition with uk_UA.KOI8-U locale (now use -L=uk_UA.KOI8-U,-D=CP866) and try to ls -l or fstat this file. >Fix: >Release-Note: >Audit-Trail: >Unformatted: