Searched hist:206773 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/bin/ln/
H A Dln.cdiff 206773 Sat Apr 17 20:49:49 MDT 2010 jilles ln: Refuse deleting a directory entry by hardlinking it to itself.

Two pathnames refer to the same directory entry iff the directories match
and the final components' names match.

Example: (assuming file1 is an existing file)
ln -f file1 file1
This now fails while leaving file1 intact. It used to delete file1 and then
complain it cannot be linked because it is gone.

With -i, this error is detected before the question is asked.

MFC after: 2 weeks

Completed in 102 milliseconds