Follow-up Comment #5, bug #17877 (project findutils):
BTW, POSIX isn't all that clear about inode numbers. Take this example:
touch x
rm x
mkfifo y
Is x and y the same file? Obviously not. Can they have the same inode
number? Yes, filesystems do reuse inode numbers.
So is st_ino a unique identifier for a file within a filesystem?
Yes, but only at a given instant. Of course you may know that a file has not
been deleted by holding a reference to it (file descriptor or cwd). Otherwise
inode numbers are hints at best.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?17877>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils