From 3ef0a1c27c0f446d2bf07ee0b3e150cbd3f41f95 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Sat, 10 Apr 1999 20:49:27 +0000 Subject: [PATCH] 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 --- lib/libc/sys/stat.2 | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index 6e5ffeeab0ca..024af9cedfaa 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