delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/05/11:42:51

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=Y/blgJX0rAU5QpKB80G7epSipPkS1LZFbgD5BoWdJW9
9ZDx9YxAzyngHoOBxbe0w3A9EY++QIQYtibxTCRBDb6XTJlGRgoGg5p9tjXlRyiD
FNVvN0Sqr8uwK6IGyDiXhrFzYixri7MyGmh1Fcw/mR9SkrJloo/V7WlhGEih8Vvo
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=ISKNihNvMDAiCMwU2Pp7JVImSWs=; b=h9Rt7NwGr+xnRCcZs
mWo3RzsaXe4XuGcG0h+YRI1El/1MmBYJvWNyFKU+xH9yILGZN74qZckULVbvYjJ2
BgPrGJnrdjvPCZR59qmDDkQniISkP476Qn0VvOFZMynC+k0q3Pf/KPYvaQ+ejtsn
S30atod1vwK79iRhHgcJPqvTU0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,GIT_PATCH_2,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=vfat, VFAT, underwent, time-consuming
X-HELO: sonic316-16.consmr.mail.bf2.yahoo.com
From: "Michel LaBarre" <michel DOT labarre AT rogers DOT com>
To: "'Fergus Daly'" <ugly DOT leper AT gmail DOT com>,
"'The Cygwin Mailing List'" <cygwin AT cygwin DOT com>
References: <CAKqBF1jHvNbra2a=k12nAwDE2_0W14iG1v=KhuACzPmJmicfYA AT mail DOT gmail DOT com>
In-Reply-To: <CAKqBF1jHvNbra2a=k12nAwDE2_0W14iG1v=KhuACzPmJmicfYA@mail.gmail.com>
Subject: RE: sed seems to force UC filename on Mixed 8.3 filenames on FAT32
Date: Mon, 5 Mar 2018 11:42:29 -0500
Message-ID: <000a01d3b4a0$f54ede30$dfec9a90$@rogers.com>
MIME-Version: 1.0
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w25GgnUt005557


> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On
> Behalf Of Fergus Daly
> Sent: March 5, 2018 4:06 AM
> To: The Cygwin Mailing List
> Subject: Re: sed seems to force UC filename on Mixed 8.3 filenames on
> FAT32
> 
> >> ..."or operation on FAT32 was changed by Windows updates."
> 
> Starting to look exactly like that. On Windows 7 there is no problem.
> On earlier W10 machines in this office there is no problem. My machine
> underwent a massive (time-consuming) update on or around 13-FEB to
> Microsoft Windows Version 1709 Build 16299.248]
> from the previous
> Microsoft Windows Version 1703 Build 15063.936]
> and the troubles began then:
> 
> ~> touch TryThis.TxT
> ~> ls T*
> TryThis.TxT
> ~> dos2unix TryThis.TxT
> dos2unix: converting file TryThis.TxT to Unix format...
> ~> ls T*
> TRYTHIS.TXT
> 
> This on a FAT32 stick. (Can anybody confirm this behaviour?) So I'm
> guessing Windows has revised its default mount shortname syntax for
> VFAT. Is there a way I can climb in and alter / override that, does
> anybody know?

I have the same build 16299.248 and I get the same behaviour.
Perhaps consider: http://www.zoneutils.com/regtricks/filesystem.htm
for parameters to experiment with.  You can use fsutil to control some of these to avoid direct registry modifications.
I expect it is more subtle otherwise the pervasive nature of the flags would mean that any file creation would result in UC names, not just dos2unix.
i.e. ls > Foo.txt should produce FOO.TXT

My dos2unix is version 7.3.5
Cygcheck -V is 2.9.0

> 
> Fergus
> 
> --
> 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


--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019