From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62105 invoked by alias); 5 Mar 2018 17:13:35 -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 62072 invoked by uid 89); 5 Mar 2018 17:13:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-97.4 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=UD:htm, Hx-spam-relays-external:ESMTPA X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.17.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 05 Mar 2018 17:13:33 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue104 [212.227.15.183]) with ESMTPA (Nemesis) id 0M8zxV-1ey5GY01D3-00CPrP for ; Mon, 05 Mar 2018 18:13:31 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 4A898A80969; Mon, 5 Mar 2018 18:13:30 +0100 (CET) Date: Mon, 05 Mar 2018 17:16:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: sed seems to force UC filename on Mixed 8.3 filenames on FAT32 Message-ID: <20180305171330.GE25306@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <000a01d3b4a0$f54ede30$dfec9a90$@rogers.com> <20180305164448.GC25306@calimero.vinschen.de> <000a01d3b4a4$2b9c0dc0$82d42940$@rogers.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="48TaNjbzBVislYPb" Content-Disposition: inline In-Reply-To: <000a01d3b4a4$2b9c0dc0$82d42940$@rogers.com> User-Agent: Mutt/1.9.2 (2017-12-15) X-UI-Out-Filterresults: notjunk:1;V01:K0:mmos7NuB91M=:Vw1Y0NfQx7tTP1yk19l7jY 7y7p41YS8o2Kb6LOZ0mKa+/GTxmdaBmVWO+eo1+HoHDqcqOqc38Ks97V3BMpVSktbIwkrBszD D3fkUd5Z05nK0b4oAPN/yXjW3BRibBljH2j6HKYlwf1xkDGbWyO7Zxv+aTqLM8zC+4zQ2zyab 6qhCcKL3afQzVogDmw2yC4fjJB2haEyrf0cXJkZH02mAqGaKljsLboXOjFOb5zMz0wg03Is2k Lmvkrg2yZwgnymfWwYAySAk6bSmLE2BMZDuB7sLLyYfuza+EswZRQXDQ/sRoY/ygEe6K54ki3 Pi/y0k3l0yctzwbPPb0P0T99QYXAALkcMcQnS3wBXNoQPBkOyhtd5vEQCC0+nX0V8QesFp0cY a1yOo0FEPC6SbvHvaegj+OtJa5wTyO26LDcFEptSD57dcbpheGEgqbOoJmgwMVHw9x6CHJqkx 3qL1CaeKAaoMZqPn62uZ3C1fyuaKKX5I3LmloKof/t7ZGndxaibh82mR1M07WrawSWLh0Kl9Z TqgpStoUS8brPjwepIIYB8HP8ZTluMJyLvP4eVLLiqxvUjMWBF0rWkv0y8uJxul7lJkXg2v31 Gb2aZaaQ0VjEgox/1yEZE9BcfIlCniV9RzMLWUQgC/zX+9BoPiuIHc6fpeIOekQECEQBneYgo uh5EAPen0a70OOgQAOAUdMSpTrQ18DMa4jQuT3tnugSfFlcn4+VqMO9XrlNm8QGMEofK0y7pM QFrArM4PrmIXwlkvWZyZbf0mEHgmFT75sJeuzQ== X-SW-Source: 2018-03/txt/msg00068.txt.bz2 --48TaNjbzBVislYPb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1604 On Mar 5 12:05, Michel LaBarre wrote: > > From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On > > Behalf Of Corinna Vinschen > > On Mar 5 11:42, Michel LaBarre wrote: > > > 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 som= e of > > these to avoid direct registry modifications. > > > I expect it is more subtle otherwise the pervasive nature of the flag= s would > > mean that any file creation would result in UC names, not just dos2unix. > > > i.e. ls > Foo.txt should produce FOO.TXT > >=20 > > Maybne something with overwriting existung files? What if you call > > `ls > Foo.txt' twice in a row? > >=20 >=20 > Nope - that works ok. (BTW - you were fast on the reply!) >=20 > I did try: > E:\>dos2unix -n Zot.txt Foo.txt > dos2unix: converting file Zot.txt to file Foo.txt in Unix format... > E:\>ls > Foo.txt Zot.txt >=20 > I thought using -n might suffice as a quick workaround for Fergus so I tr= ied: >=20 > E:\>dos2unix -n Zot.txt Zot.txt > dos2unix: converting file Zot.txt to file Zot.txt in Unix format... > E:\>ls > Foo.txt ZOT.TXT But `mv ZOT.TXT Zot.txt' works? Can you strace this like this after renaming the file back to Zot.txt $ strace -o d2u.trace dos2unix -n Zot.txt Zot.txt and send the d2u.trace file to this list? Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --48TaNjbzBVislYPb Content-Type: application/pgp-signature; name="signature.asc" Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlqderoACgkQ9TYGna5E T6CySw/+MIKhK1uTNjl9k8hWHD2C1fW7y/+PBQb+R2BPpuhqLJ7Zq7HlDPTlSTfN VFc2sdyXCYs7tMwMGaEH5+TZvT5KaGd1LTDV/afwssNLjhDaknh14N6szzvctQgX Oevhx+JufKPtmznP6xXzFu/JIvDOFCYtg5lHOPbU0YwHlHXVRcOUrn1L79P+9zH8 dSmRTN4WL+yKYkHOiI/H5I/iC2RfYTbZxiESQS3SvWROnDCyHxQzky22d+hRNiqf GSzc6sSZHZGUBa7CqmHE7adURNzdRdDDNSg0f1gU2ulmYad3NApYgurawbW44Jv0 c8GirkGVQmxprpef9JTb6yX0PZLdUKQqV1trYcKsIx9Cbn1gD/N+AAc8VxTdTURf A39thmDOXExDzfSeNSAbbxYuM3fs7+loibls8W1BamQ2jr/G5+eKNJf0CWaKKlJ9 VCod4apNjZZ08uvk9VqbmHQUKh96VO6dErDxjFrKADQm4NkpPEY1JeG5+AzHtpVD IebH32+JgaXsL1fKGZrxAPpdas+nswEiQy47jyXkVHWw8YWdGhj6gxvP8+sOEsP2 rXCWtO2v1vNu3Y06SzVf0OoghkNiYRXQGu34YIzPv4f5J9gO5eoO1xA2ztMoF1oi c/dt+dcagwNp1j7nsrfaRd5zrwd2aHcjclK9/w71KAOmi3MZbqs= =nKtR -----END PGP SIGNATURE----- --48TaNjbzBVislYPb--