summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornik <nik@FreeBSD.org>1999-04-10 20:49:27 +0000
committernik <nik@FreeBSD.org>1999-04-10 20:49:27 +0000
commit00557a95d54f7ba0b583b7103b4ef2320e2b6e55 (patch)
treed6890f61e8b6074735406c717e4e8333addc203f /lib
parent2dc21beae9e183144a80cd117ecd80c776a38cad (diff)
downloadFreeBSD-src-00557a95d54f7ba0b583b7103b4ef2320e2b6e55.zip
FreeBSD-src-00557a95d54f7ba0b583b7103b4ef2320e2b6e55.tar.gz
Contains the para
Unlike other filesystem objects, symbolic links do not have an owner, group, access mode, times, etc. Instead, these attributes are taken from the directory that contains the link. The only attributes returned from an lstat() that refer to the symbolic link itself are the file type (S_IFLNK), size, blocks, and link count (always 1). This is bogus, and disagrees with the implementation and symlink(7). Removed it. PR: docs/10269 Submitted by: Tolik <tolik@sibptus.tomsk.ru>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/stat.210
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2
index 6e5ffee..024af9c 100644
--- a/lib/libc/sys/stat.2
+++ b/lib/libc/sys/stat.2
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)stat.2 8.4 (Berkeley) 5/1/95
-.\" $Id: stat.2,v 1.13 1998/01/02 19:22:49 alex Exp $
+.\" $Id: stat.2,v 1.14 1998/10/21 09:48:35 dima Exp $
.\"
.Dd May 1, 1995
.Dt STAT 2
@@ -68,14 +68,6 @@ returns information about the link,
while
.Fn stat
returns information about the file the link references.
-Unlike other filesystem objects,
-symbolic links do not have an owner, group, access mode, times, etc.
-Instead, these attributes are taken from the directory that
-contains the link.
-The only attributes returned from an
-.Fn lstat
-that refer to the symbolic link itself are the file type (S_IFLNK),
-size, blocks, and link count (always 1).
.Pp
The
.Fn fstat
OpenPOWER on IntegriCloud