delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/07/06/05:17:13

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE9F43839827
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1625563030;
bh=T5QuQsiOsPuqdkWWITI8N/28SqA35N6+ZJrVuTtd51U=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=dSsOJfXsmQ7OYfWWVCzkGnDSIXQRyWtafmSvIAIuD5KUUHdqgHwz6nz0TsKXFgl/F
+uakLbei0GTD/wvVcdyGeKeHDnn+q59xUNgNSO/EOS1V4ow7ZEGEOSkkaImpyHw1Eh
0BKOGlQbzi5IICrct7GN9IxITbTf1cKxxjtJU9LE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BA74A3861C54
X-Brand: 7abm2Q==
X-KPN-SpamVerdict: e1=0;e2=0;e3=0;e4=;e6=(e1=10;e3=10;e2=11;e4=10;e6=1
0);EVW:White;BM:NotScanned;FinalVerdict:Clean
X-CMAE-Analysis: v=2.4 cv=G7Z/r/o5 c=1 sm=1 tr=0 ts=60e41f48
cx=a_idp_e a=YnLMpE5S06+Zisl5ga1zfg==:117
a=TOtYYj/GSYWBgm6f19gFrg==:17 a=h8ePZlyUMksA:10 a=N659UExz7-8A:10
a=e_q4qTt1xDgA:10 a=w_pzkKWiAAAA:8 a=CJ-DX8JmUWd-okORFaoA:9
a=pILNOxqGKmIA:10 a=sRI3_1zDfAgwuvI8zelB:22
X-CM-AcctID: kpn AT feedback DOT cloudmark DOT com
X-Originating-IP: 77.169.151.208
Subject: Re: Inode number and file size problems in version 3.2.1
To: Ken Brown <kbrown AT cornell DOT edu>, cygwin AT cygwin DOT com
References: <0cbd1744-ada6-d7b8-dbf5-5617a41470fb AT wxs DOT nl>
<8206027a-a5b5-298f-85bc-01a4a7c02b58 AT cornell DOT edu>
<244fa3f1-08a9-eeb1-6ee0-b0d1c6033ab5 AT cornell DOT edu>
Message-ID: <0d901ab3-0e3c-5e27-5d2e-6617466837de@wxs.nl>
Date: Tue, 6 Jul 2021 11:15:52 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <244fa3f1-08a9-eeb1-6ee0-b0d1c6033ab5@cornell.edu>
X-OriginalArrivalTime: 06 Jul 2021 09:15:52.0408 (UTC)
FILETIME=[84A09580:01D77247]
X-RcptDomain: cygwin.com
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, JMQ_SPF_NEUTRAL, KAM_NUMSUBJECT,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ruurd Beerstra via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ruurd Beerstra <ruurdb AT wxs DOT nl>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 1669HCcH021517

Hi,

I missed those question - sorry. This ping is the first I saw i response 
to my question.

The drive "i:" is a simple "subst":

C:\>subst
I:\: => C:\users\ruurd

C:\>

But, to my surprise, that actually causes the problem!  The 
cygwin64.broken is the Cygwin version with the problem.
If I use the SUBST drive, I get the wrong dates, sizes and inodes. When 
I use it directly, it is OK!
I've had the SUBST for many years, as a quick way to get to wherever the 
source lives.

C:\Users\ruurd\ivt>c:\cygwin64.broken\bin\ls -li win*
281474977247364 -rwx------+ 1 ruurd ruurd     0 Feb  5  2014 win-mac.h
281474977247365 -rwx------+ 1 ruurd ruurd  2969 Apr 12 15:23 winnoise.c
281474977247366 -rwx------+ 1 ruurd ruurd  9037 Oct 25  2017 winsecur.c
281474977247367 -rwx------+ 1 ruurd ruurd  2480 Oct 25  2017 winsecur.h
281474977247368 -rwx------+ 1 ruurd ruurd 61009 Dec  6  2020 winstatus.c
281474977247369 -rwx------+ 1 ruurd ruurd 18292 Feb  8  2020 winwords.h

C:\Users\ruurd\ivt>i:

i:\ivt>c:\cygwin64.broken\bin\ls -li win*
281474977027142 -rwx------+ 1 ruurd ruurd 12288 Jul  6 10:36 win-mac.h
281474977027142 -rwx------+ 1 ruurd ruurd 12288 Jul  6 10:36 winnoise.c
281474977027142 -rwx------+ 1 ruurd ruurd 12288 Jul  6 10:36 winsecur.c
281474977027142 -rwx------+ 1 ruurd ruurd 12288 Jul  6 10:36 winsecur.h
281474977027142 -rwx------+ 1 ruurd ruurd 12288 Jul  6 10:36 winstatus.c
281474977027142 -rwx------+ 1 ruurd ruurd 12288 Jul  6 10:36 winwords.h

I'll try and use the snapshot this evening.

     Thanks,
     Ruurd


On 5-7-2021 20:19, Ken Brown wrote:
> On 7/1/2021 12:21 PM, Ken Brown via Cygwin wrote:
>> On 7/1/2021 8:15 AM, Ruurd Beerstra via Cygwin wrote:
>
> [...]
>
>>> I found a patch (cygwin1-20210426.dll) with an updated cygwin1.dll. 
>>> That fixed the hangs.
>
> [...]
>
>>> Note the wrong (changing) times when I use the current 'stat' (the 
>>> first output is not the same as the 2nd one), while the old version 
>>> consistently reports correct times, size and inode number. A quick 
>>> test shows that the 'ls' command (I assume caused by the underlying 
>>> stat(2) call) reports the same inode number for ALL files.
>>> It also reports either a size of "0" or 8192 for ALL files.
>>
>> Can you tell us something about i:\ivt so that someone could try to 
>> reproduce the problem?  What kind of drive is i:?  Does the path 
>> "i:\ivt" by any chance involve native symlinks or junctions?
>
> Ping?
>
> Can you answer the questions?  If there's a bug in the 20210426 
> snapshot, we'd like to fix it.  But first it would be good if you 
> would test the most recent snapshot (20210507), available at 
> https://cygwin.com/snapshots/, to see if it's already been fixed.
>
> Thanks.
>
> Ken


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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