Derry Shribman wrote:
***cvs***, gnumake, grep and many many others do not need ino/nlink, since
ino/nlink is not related to the programs logic, and if any library
they use IS using ino/nlink info, then its a very strange library, if
not even a bug.
BZZZT. Thanks for playing.
find cvs-1.12.13 -type f | xargs grep 'st_ino'
shows 35 different uses of the st_ino member of struct stat.
find make-3.81 -type f | xargs grep 'st_ino' |wc
shows 11 different uses of the st_ino member of struct stat.
But even if you weren't wrong on THAT...many libraries DO in fact open
files on their own, check for # of links, check if multiple file(names)
actually correspond to the same file using dev and ino (think: glib/gtk,
libneon, wxwindows, or other portability libraries).
--
Chuck