Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 14:16:39 -0400 (EDT)
From:      Ryan <ryan@ryan.org>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/8337: documentation relic
Message-ID:  <199810151816.OAA17634@ryan.org>

next in thread | raw e-mail | index | archive | help

>Number:         8337
>Category:       docs
>Synopsis:       documentation relic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 15 11:20:01 PDT 1998
>Last-Modified:
>Originator:     Ryan
>Organization:
>Release:        FreeBSD 2.2.7-STABLE i386
>Environment:


>Description:

rename(2) mentioned as a 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 `a', say `a/foo', being
     a hard link to directory `b', and an entry in directory `b', say `b/bar',
     being a hard link to directory `a'. When such a loop exists and two sepa-
     rate processes attempt to perform `rename a/foo b/bar' and `rename b/bar
     a/foo', respectively, the system may deadlock attempting to lock both di-
     rectories for modification.  Hard links to directories should be replaced
     by symbolic links by the system administrator.

if I remember correctly, directory hard links were outlawed long ago. 

>How-To-Repeat:


>Fix:
	

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810151816.OAA17634>