aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>1999-04-10 20:49:27 +0000
committerNik Clayton <nik@FreeBSD.org>1999-04-10 20:49:27 +0000
commit3ef0a1c27c0f446d2bf07ee0b3e150cbd3f41f95 (patch)
tree6f8da67f971dc4813b53d93376b10970d0a5067e /lib
parentb2c3f55673d48c0f88e390cc9a3391ee4b8413db (diff)
downloadsrc-3ef0a1c27c0f446d2bf07ee0b3e150cbd3f41f95.tar.gz
src-3ef0a1c27c0f446d2bf07ee0b3e150cbd3f41f95.zip
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>
Notes
Notes: svn path=/head/; revision=45560
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 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