Date: Tue, 10 Mar 2026 11:43:43 +0000 From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 1bb58ba12b47 - stable/15 - libsys/rename.2: remove commented-out CAVEAT section Message-ID: <69b003ef.1c6f7.6a4de7b7@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1bb58ba12b47ed58144784b3b68e41cced330642 commit 1bb58ba12b47ed58144784b3b68e41cced330642 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2026-02-27 00:03:59 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2026-03-10 11:41:32 +0000 libsys/rename.2: remove commented-out CAVEAT section (cherry picked from commit 5f911eaba017645487a1eaee3609b26a77f0f174) --- 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 ERRORShome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b003ef.1c6f7.6a4de7b7>
