in reply to Re^2: locking over the network
in thread locking over the network
To be honest, I thought that the concept of hard links works only within a filesystem.
Yes, that's my understanding as well, which is why my example does its work in the current directory.
I don't know how Windows does it, but with, for example, Samba, you don't have a node number where you could hard-link to, do you?
smbclient(1) seems to support hard links but I really can't say whether perl's link command works on a samba mount.