From owner-freebsd-questions@FreeBSD.ORG Tue Sep 27 14:32:43 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 4300816A420 for ; Tue, 27 Sep 2005 14:32:43 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id D68BA43D6D for ; Tue, 27 Sep 2005 14:32:37 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 5395DCCFBBC for ; Tue, 27 Sep 2005 10:32:36 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.151]) by frontend1.internal (MEProxy); Tue, 27 Sep 2005 10:32:36 -0400 X-Sasl-enc: 6BvJn58b1/Vd8+N9reBteLevjnh4jm1JM4V5zfZyYKDo 1127831555 Received: from gumby.localdomain (dsl-80-41-66-214.access.as9105.com [80.41.66.214]) by frontend2.messagingengine.com (Postfix) with ESMTP id 82CED57030B for ; Tue, 27 Sep 2005 10:32:35 -0400 (EDT) From: RW To: freebsd-questions@freebsd.org Date: Tue, 27 Sep 2005 15:32:34 +0100 User-Agent: KMail/1.8.2 References: <433852A8.10900@gish.demon.nl> <43394783.3020608@pobox.sk> <43395410.3010606@ywave.com> In-Reply-To: <43395410.3010606@ywave.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509271532.34672.list-freebsd-2004@morbius.sent.com> 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 14:32:43 -0000 On Tuesday 27 September 2005 15:15, Micah wrote: > > ps: and, btw, how freebsd knows there's a capital A in "A.txt~" ? > > because it's stored on the filesystem in that way, i guess. being > > case-insensitive doesn't (necessarily) mean a FS doesn't keep a case, > > imho. > > The reason is as follows: a.txt is an 8.3 filename and is stored on > fat32 in the old dos format. a.txt~ is NOT an 8.3 filename and is > stored on fat32 in the extended long filename format. Case information > is not stored in 8.3's file names. They're always the same case, but I > can't remember now if they're stored as upper or lower case. Extended > long filenames do store case information, even though windows ignores > the case (as was pointed out earlier). FreeBSD is displaying 8.3 names > as lowercase probably to mimic the tendency of unix filenames to be > lowercase. Windows displays 8.3 names as upper case probably to mimic dos. The 8.3 names and the long names are stored separately whatever the name format. FreeBSD displays the long name even when the filename fits the 8.3 format.