diff options
author | Jilles Tjoelker <jilles@FreeBSD.org> | 2014-12-29 13:02:03 +0000 |
---|---|---|
committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2014-12-29 13:02:03 +0000 |
commit | df30ae985dad3b452113614099e09f8f6d271eaf (patch) | |
tree | ab271d28d2d1a04a874e80ea8628c6bc17cebe79 /bin/ln | |
parent | 82ba170c6ea540f942fadeabce205f7b61bcd7d7 (diff) | |
download | src-df30ae985dad3b452113614099e09f8f6d271eaf.tar.gz src-df30ae985dad3b452113614099e09f8f6d271eaf.zip |
symlink(7): Note that stat(1) does not follow symlinks by default.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=276359
Diffstat (limited to 'bin/ln')
-rw-r--r-- | bin/ln/symlink.7 | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/bin/ln/symlink.7 b/bin/ln/symlink.7 index 8c09f281a515..6aba773db7e5 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 |