From d2346aa9a78a078fccb730720f98638338e97ad4 Mon Sep 17 00:00:00 2001 From: jilles Date: Sun, 8 Feb 2015 22:46:29 +0000 Subject: [PATCH] MFC r276359: symlink(7): Note that stat(1) does not follow symlinks by default. git-svn-id: svn://svn.freebsd.org/base/stable/10@278420 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- bin/ln/symlink.7 | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/bin/ln/symlink.7 b/bin/ln/symlink.7 index 8c09f281a..6aba773db 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 -- 2.45.0