summaryrefslogtreecommitdiffstats
path: root/usr.bin/stat
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2010-12-05 09:35:07 +0000
committerdougb <dougb@FreeBSD.org>2010-12-05 09:35:07 +0000
commit1fc00c1bd7e0da3183e7e3bbede72568201b7cbe (patch)
treed4ce560da576d369e2bd397fdc4afd62e6c9b7a6 /usr.bin/stat
parent4bc6f6479f031b4131c03bf9ed4c18837fda8307 (diff)
downloadFreeBSD-src-1fc00c1bd7e0da3183e7e3bbede72568201b7cbe.zip
FreeBSD-src-1fc00c1bd7e0da3183e7e3bbede72568201b7cbe.tar.gz
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.
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 8bbdda4..0ae0b7c 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
OpenPOWER on IntegriCloud