From owner-freebsd-questions@FreeBSD.ORG Tue Sep 27 21:13:54 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04B8F16A41F for ; Tue, 27 Sep 2005 21:13:54 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 543E443D69 for ; Tue, 27 Sep 2005 21:13:45 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EKMjI-00018o-9w for freebsd-questions@freebsd.org; Tue, 27 Sep 2005 23:11:12 +0200 Received: from r5k115.chello.upc.cz ([86.49.10.115]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2005 23:11:12 +0200 Received: from martinkov by r5k115.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Sep 2005 23:11:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: martinko Date: Tue, 27 Sep 2005 23:07:58 +0200 Lines: 67 Message-ID: <4339B4AE.80205@pobox.sk> References: <433852A8.10900@gish.demon.nl> <200509271532.34672.list-freebsd-2004@morbius.sent.com> <43395D89.8080208@ywave.com> <200509271635.20815.list-freebsd-2004@morbius.sent.com> <4339A1D6.7020708@ywave.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org Cc: freebsd-questions@freebsd.org X-Gmane-NNTP-Posting-Host: r5k115.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20050925 X-Accept-Language: sk, cs, en-gb, en-us, en In-Reply-To: <4339A1D6.7020708@ywave.com> Sender: news Subject: Re: file name case issue on fat32 (Was: Re: Sharing data files on a dual-boot machine ...) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2005 21:13:54 -0000 Micah wrote: > > > RW wrote: > >> On Tuesday 27 September 2005 15:56, Micah wrote: >> >>> The directory structure of fat32 is still the same as from dos. In >>> order to create long filenames, Windows uses subsequent directory >>> entries to store the extra filename characters. If a filename fits the >>> 8.3 format, Windows (at least Win98) does not bother to create the extra >>> entries for the long filename record. If there's no ong filename >>> record, how can FreeBSD use the long filename? >> >> >> >> >> >> The files in question are shown as having names like A.txt in windows, >> ie mixed case. The Dos directory command always shows completly >> uppercase names for the 8.3 names >> >> I have plenty of 8.3 files that dos DIR shows as having uppercase 8.3 >> names *and* mixed/lower-case full names. So either dos/windows does >> create the extra-filename for files with an 8.3 name format, or it >> stores the mixed-case name in the legacy 8.3 field in it's case and >> DIR converts to uppercase. >> Either way around the case that is found by FreeBSD should be the same >> as if it were reading a long-filename. > > > I did some tests using Win98/qemu and Win2K/real hardware, and diskedit. > This appears to be a real bug in how FreeBSD handles byte 12 of an 8.3 > directory entry. It only shows up in 8.3 filenames created by Win2K > (and presumably any NT based windows). Somehow (and I cannot find exact > details, just passing references) NT stores filename capitalization of > 8.3 names in byte 12 of an 8.3 directory entry, thereby eliminating the > creation of an LFN (long filename) entry. FreeBSD doesn't interpret it > correctly and displays file names in lowercase unless the original name > was all uppercase letters. The solution: always use long filenames > from an NT based Windows if you care about capitalization. At least > until the bug is fixed in FreeBSD. > exactly! i just did a simple test and created the following on win xp : w.TXT X.TXT Y.txt z.txt and this is what freebsd displays: X.TXT w.txt y.txt z.txt i think the case is clear. and what now? whom to report it to? regards, martin