On Thu, Mar 5, 2015 at 9:13 AM, Jan Stary <[email protected]> wrote:

> > Those aren't hardlinks, but /tmp is a symlink to /private/tmp. Your
> > vim just happens to realpath(3) before saving, it seems.
>
> It's not a symlink, they have the same inode number.
> A symlink would look like this:
>

Your observation would be valid if the file /tmp/whatever were symlinked.
But it's not that specific file, but the directory /tmp that is symlinked.
Naturally, anything within it is going to have the same inode number
whether accessed via the symlink /tmp or the real path /private/tmp.

-- 
brandon s allbery kf8nh                               sine nomine associates
[email protected]                                  [email protected]
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to