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@byu.net>
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Call for testing Cygwin snapshot
References: <20060424181242.GA5783@calimero.vinschen.de> <444DA8C5.6030105@cwilson.fastmail.fm>
In-Reply-To: <444DA8C5.6030105@cwilson.fastmail.fm>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@byu.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/

