You are mistaken. rename doesn't change what file (inode) the name points to.
(I've updated my earlier comment to show the inode numbers.)
In reply to Re^3: How does rename() work on read-only files?
by ikegami
in thread How does rename() work on read-only files?
by j41r
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |