-.\" $NetBSD: stat.2,v 1.9 1996/01/17 02:15:28 jtc Exp $
+.\" $OpenBSD: stat.2,v 1.3 1997/02/13 05:20:55 millert Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
.It Bq Er EIO
An I/O error occurred while reading from or writing to the file system.
.El
-.Sh CAVEAT
+.Sh CAVEATS
+The file generation number,
+.Fa st_gen ,
+is only available to the super-user.
+.br
The fields in the stat structure currently marked
.Fa st_spare1 ,
.Fa st_spare2 ,
function calls are expected to conform to
.St -p1003.1-88 .
.Sh HISTORY
-A
+An
.Fn lstat
function call appeared in
.Bx 4.2 .
long f_bavail; /* free blocks avail to non-superuser */
long f_files; /* total file nodes in file system */
long f_ffree; /* free file nodes in fs */
- fsid_t f_fsid; /* file system id */
+ fsid_t f_fsid; /* file system id (super-user only) */
uid_t f_owner; /* user that mounted the file system */
long f_spare[4]; /* spare for later */
char f_fstypename[MFSNAMELEN]; /* fs type name */