X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 23 Nov 2012 13:21:26 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: NTFS inode ouput from ls -i Message-ID: <20121123122126.GQ17347@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1353618531 DOT 68014 DOT YahooMailNeo AT web5716 DOT biz DOT mail DOT ne1 DOT yahoo DOT com> <50AF21C9 DOT 9090706 AT lysator DOT liu DOT se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50AF21C9.9090706@lysator.liu.se> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Nov 23 08:12, Peter Rosin wrote: > On 2012-11-22 22:08, Michael Lester wrote: > > mike AT computer ~/test3 > > $ ls > > file1 > > > > mike AT computer ~/test3 > > $ cat file1 > > Hello! > > 123 > > > > mike AT computer ~/test3 > > $ ifind -n /cygwin/home/mike/test3/file1 '\\.\c:' > > 195962 > > > > mike AT computer ~/test3 > > $ icat '\\.\c:' 195962 > > Hello! > > 123 > > > > mike AT computer ~/test3 > > $ ls -i file1 > > 281474976906618 file1 > > > > mike AT computer ~/test3 > > $ > > I'm obviously not Corinna, but I did make a quick observation: > > 195962 == 0x2FD7A > 281474976906618 = 0x100000002FD7A > > I don't know if that always holds, but it certainly looks promising. It is. Cygwin uses the FileID value. Note that the FileID type is ULONGLONG == 64 bit. Stripping off the upper 32 bit, as apparently the ifind and icat tools do, seems wrong to me. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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