aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-02-27 00:03:59 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-03-05 23:46:53 +0000
commit5f911eaba017645487a1eaee3609b26a77f0f174 (patch)
treee6f9257e733b5cea30edab3e194df7e98be761d5
parent8feb8d221cfb842ee11d744d22571baec6c18cd8 (diff)
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
-rw-r--r--lib/libsys/rename.226
1 files changed, 0 insertions, 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