summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2015-02-08 22:46:29 +0000
committerjilles <jilles@FreeBSD.org>2015-02-08 22:46:29 +0000
commit0bf8cb7b5108d2db90ef1869328ea310b4cf7e78 (patch)
tree9b5d2d48e59048db8f267c279280adf84cf98bf6 /bin
parentbded83f8358e58b35285a8f15fe5bbebf04c675c (diff)
downloadFreeBSD-src-0bf8cb7b5108d2db90ef1869328ea310b4cf7e78.zip
FreeBSD-src-0bf8cb7b5108d2db90ef1869328ea310b4cf7e78.tar.gz
MFC r276359: symlink(7): Note that stat(1) does not follow symlinks by
default.
Diffstat (limited to 'bin')
-rw-r--r--bin/ln/symlink.717
1 files changed, 8 insertions, 9 deletions
diff --git a/bin/ln/symlink.7 b/bin/ln/symlink.7
index 8c09f28..6aba773 100644
--- a/bin/ln/symlink.7
+++ b/bin/ln/symlink.7
@@ -29,7 +29,7 @@
.\" @(#)symlink.7 8.3 (Berkeley) 3/31/94
.\" $FreeBSD$
.\"
-.Dd April 25, 2010
+.Dd December 29, 2014
.Dt SYMLINK 7
.Os
.Sh NAME
@@ -219,7 +219,7 @@ would change the ownership of
.Dq Li slink
itself.
.Pp
-There are four exceptions to this rule.
+There are five exceptions to this rule.
The
.Xr mv 1
and
@@ -262,13 +262,12 @@ a file tree.)
.Pp
The
.Xr file 1
-command is also an exception to this rule.
-The
-.Xr file 1
-command does not follow symbolic links named as argument by default.
-The
-.Xr file 1
-command does follow symbolic links named as argument if
+and
+.Xr stat 1
+commands are also exceptions to this rule.
+These
+commands do not follow symbolic links named as argument by default,
+but do follow symbolic links named as argument if the
.Fl L
option is specified.
.Pp
OpenPOWER on IntegriCloud