On 07/23/2011 11:12 PM, Jim Meyering wrote:

In my experience, dev/ino is sufficient, as long as you're not using one of
a few POSIX-violating fringe file systems (clearcase's MVS comes to mind).

What about a few POSIX-violating fringe operating systems (Windows and DJGPP come to mind)? :) For Windows we can write our own stat function in cygwin, but for DJGPP I think we're in a bad situation...

The attribute tests fix it in practice, but since this is not an optimization, perhaps gnulib's SAME_INODE module should provide an indicator of the reliability of the macro.

Paolo

Reply via email to