The branch main has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=5f911eaba017645487a1eaee3609b26a77f0f174

commit 5f911eaba017645487a1eaee3609b26a77f0f174
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-02-27 00:03:59 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-03-05 23:46:53 +0000

    libsys/rename.2: remove commented-out CAVEAT section
    
    FreeBSD UFS does not support hardlinks to directories.
    
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D55539
---
 lib/libsys/rename.2 | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/lib/libsys/rename.2 b/lib/libsys/rename.2
index 4faba81ff509..1806321245ec 100644
--- a/lib/libsys/rename.2
+++ b/lib/libsys/rename.2
@@ -112,32 +112,6 @@ or
 .Fa tofd
 parameter, the current working directory is used in the determination
 of the file for the respective path parameter.
-.\".Sh CAVEAT
-.\"The system can deadlock if a loop in the file system graph is present.
-.\"This loop takes the form of an entry in directory
-.\".Pa a ,
-.\"say
-.\".Pa a/foo ,
-.\"being a hard link to directory
-.\".Pa b ,
-.\"and an entry in
-.\"directory
-.\".Pa b ,
-.\"say
-.\".Pa b/bar ,
-.\"being a hard link
-.\"to directory
-.\".Pa a .
-.\"When such a loop exists and two separate processes attempt to
-.\"perform
-.\".Ql rename a/foo b/bar
-.\"and
-.\".Ql rename b/bar a/foo ,
-.\"respectively,
-.\"the system may deadlock attempting to lock
-.\"both directories for modification.
-.\"Hard links to directories should be
-.\"replaced by symbolic links by the system administrator.
 .Sh RETURN VALUES
 .Rv -std rename
 .Sh ERRORS

Reply via email to