From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17706 invoked by alias); 3 Mar 2018 18:14:44 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17697 invoked by uid 89); 3 Mar 2018 18:14:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,LIKELY_SPAM_BODY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=daly, Fergus, Daly, 6943 X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 03 Mar 2018 18:14:42 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with ESMTP id sBg7eol3lYxCTsBg8e4PSy; Sat, 03 Mar 2018 11:14:41 -0700 X-Authority-Analysis: v=2.3 cv=cav8UELM c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=NjIUnkUxsvFLSwBqg64A:9 a=pILNOxqGKmIA:10 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32 To: cygwin@cygwin.com References: From: Brian Inglis Message-ID: <468c8201-f85c-d1ce-a50b-2b983a70edaf@SystematicSw.ab.ca> Date: Sat, 03 Mar 2018 18:14:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfJOFB1tPo75cCjpThSWXIn5rjr9rWfy4wG599asK/CxNtDlf536nDEXXKtSkZWkV/tWhxgEiyGnO5+B4yeCnFS7V/HKTir+yE627/4OUvyRC1u7pw3QR MVxsdjJkHTK7mYPWcEuRLWrHo4uocWELAInyEf9GsWhsnpv2O5HlKgUlDbLYVM4aZ+dOnL94jRC1ig== X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00026.txt.bz2 On 2018-03-03 01:36, Fergus Daly wrote: >>> Run stat on original and converted files. > > OK. I get this: > > ~> stat /j/PStart.xml > File: /j/PStart.xml > Size: 7233 Blocks: 8 IO Block: 65536 regular file > Device: a6418e7fh/2789314175d Inode: 7206475022584976007 Links: 1 > Access: (0644/-rw-r--r--) Uid: (197609/ fergusd) Gid: (197609/ fergusd) > Access: 2018-03-03 00:00:00.000000000 +0000 > Modify: 2018-03-02 11:50:12.000000000 +0000 > Change: 2018-03-02 11:50:12.000000000 +0000 > Birth: 2018-03-02 09:26:44.060000000 +0000 > > ~> dos2unix.exe /j/PStart.xml > dos2unix: converting file /j/PStart.xml to Unix format... > > ~> stat /j/PSTART.XML > File: /j/PSTART.XML > Size: 6943 Blocks: 8 IO Block: 65536 regular file > Device: a6418e7fh/2789314175d Inode: 7206475022584976007 Links: 1 > Access: (0644/-rw-r--r--) Uid: (197609/ fergusd) Gid: (197609/ fergusd) > Access: 2018-03-03 00:00:00.000000000 +0000 > Modify: 2018-03-03 08:27:16.000000000 +0000 > Change: 2018-03-03 08:27:16.000000000 +0000 > Birth: 2018-03-03 08:27:15.210000000 +0000 > > Does that help at all? > > It's not so much the behaviour on FAT32, which I could put up with as > a filesystem pehenomenon if it had always been the case: but it's just > started in the past few days. Can't think what has been updated that > would cause this change. Previously sed and dos2unix which I use > constantly (and others) did NOT change the case of the filename. Should only be possible if Std C rename was changed in newlib/Cygwin1.dll updates or operation on FAT32 was changed by Windows updates. Looks like VFAT entries are no longer being created for the long file name as it has a short name. Test what happens if you use a mixed long file name e.g. Mumblety-Peg.html? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple