summaryrefslogtreecommitdiff
path: root/usr.bin/stat
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2010-12-05 09:35:07 +0000
committerDoug Barton <dougb@FreeBSD.org>2010-12-05 09:35:07 +0000
commit5c06c8a134ccf9f587c82773dba70d203e79ce2a (patch)
treed4ce560da576d369e2bd397fdc4afd62e6c9b7a6 /usr.bin/stat
parentccdbe8ce16caecda8d847db357a4b132336a6a09 (diff)
downloadsrc-test-5c06c8a134ccf9f587c82773dba70d203e79ce2a.tar.gz
src-test-5c06c8a134ccf9f587c82773dba70d203e79ce2a.zip
Add my own documentation for the change in our r216196, aka NetBSD's 1.18
For -L if stat(2) fails, fall back to lstat(2). .Dd purposely not bumped because more changes are coming.
Notes
Notes: svn path=/head/; revision=216197
Diffstat (limited to 'usr.bin/stat')
-rw-r--r--usr.bin/stat/stat.14
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/stat/stat.1 b/usr.bin/stat/stat.1
index 8bbdda484532b..0ae0b7c10d48b 100644
--- a/usr.bin/stat/stat.1
+++ b/usr.bin/stat/stat.1
@@ -107,6 +107,10 @@ will refer to the target of
if file is a symbolic link, and not to
.Ar file
itself.
+If the link is broken or the target does not exist,
+fall back on
+.Xr lstat 2
+and report information about the link.
.It Fl n
Do not force a newline to appear at the end of each piece of output.
.It Fl q