Follow-up Comment #10, bug #23443 (project findutils):
Hi James.
Actually, yes.
Whereas the gnulib-fts cycle checks only device and inode numbers (because
that's all it needs to do on POSIX-conforming file system), some tools resort
to comparing additional members of struct stat. For example diff has an
option you can enable (configure-time?) to make it perform extra checks of
several other members. Note how the comparison in comment #5 shows size, link
count and block count fields differ, even though dev/inode match.
Unfortunately, testing those fields would mean storing them, and currently we
don't store an entire 144-byte stat field, but rather just dev+inode for the
cycle check. We'll have to weigh the cost/benefit of encumbering the code
(that will impact all users) to accommodate a non-POSIX file system.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?23443>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/