Mail Archives: cygwin/2006/04/25/03:50:50
On Apr 25 00:42, Charles Wilson wrote:
> 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?
Thanks for the offer. Can you please send the output of the tiny tool I
mailed in http://sourceware.org/ml/cygwin/2006-01/msg00818.html?
Other than that, yes, a bit of comparison between d_ino and st_ino of
would be helpful. You could use the tool I posted in
http://sourceware.org/ml/cygwin/2006-04/msg00314.html. Just keep in
mind that it has to be build using the sys/dirent.h header from the
snapshots.
Another important factor is, if the underlying filesystem tends to
change the inode number between subsequent calls. You can either
compare the inode numbers using the above tool, or you can see if
you encounter the dreaded "cp: skipping file 'foo', as it was replaced
while being copied" problem.
> Do I only care about the lower 32 bits, or all 64?
The whole 64 bit inode number is important.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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 -