delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/25/08:29:49

X-Spam-Check-By: sourceware.org
Message-ID: <444E162C.4080708@byu.net>
Date: Tue, 25 Apr 2006 06:29:32 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Call for testing Cygwin snapshot
References: <20060424181242 DOT GA5783 AT calimero DOT vinschen DOT de> <444DA8C5 DOT 6030105 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <444DA8C5.6030105@cwilson.fastmail.fm>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Charles Wilson on 4/24/2006 10:42 PM:
> Corinna Vinschen wrote:
> 
>> - Reintroducing the dirent member d_ino.  1.5.20 tries hard to return a
>>   useful d_ino value, which is supposed to be also the same as st_ino as
>>   returned by stat(2) in all cases, regardless of the obstacles to do
>>   this on Windows.  Do you have strange file systems like HPFS or
>> ClearCase?
> 
> I'll take a look at this w.r.t clearcase.  How exactly should I test --
> what am I looking for?  Just a little app that compares dirent.d_ino and
>  stat.st_ino for a specified file on the strange filesystem?

Another set of tests is to use the experimental coreutils-5.94-5.
Doing/bin/pwd inside a directory on the strange filesystem stress tests
d_ino (I already know that on ClearCase (MVFS), /bin/pwd fails inside of
versioned directories, such as ccase/foo@@/main/, since ClearCase refuses
to list foo@@ in a readdir of ccase, but that is not cygwin's bug).  And
comparing '\ls -ia' against '\ls -ipa' will show whether d_ino agrees with
st_ino.

> 
> Do I only care about the lower 32 bits, or all 64?

On cygwin, ino_t is advertised as 64 bits; if all 64 don't match, then
cygwin needs to be patched.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEThYr84KuGfSFAYARAjL8AJ9yBV+3pMb5sTNGRNjJVYsJZjblOgCdF9Tt
NXHJanCG5F9EYWnYVUmqISU=
=W8Q+
-----END PGP SIGNATURE-----

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

- Raw text -


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