diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-11-21 10:45:49 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2003-11-21 10:45:49 +0000 |
commit | 3894a21f9e757838d4ef511a7cae271649744fae (patch) | |
tree | 7f78583900bf00b605aa979f517649b59e8b4e3b /lib | |
parent | 8273417e3661b0c923f59dfcb309b9e46f43b9e6 (diff) |
sync with <mount.h>; from FreeBSD;
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/getfsstat.2 | 9 | ||||
-rw-r--r-- | lib/libc/sys/statfs.2 | 7 |
2 files changed, 9 insertions, 7 deletions
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2 index 3528d44572a..87d98847119 100644 --- a/lib/libc/sys/getfsstat.2 +++ b/lib/libc/sys/getfsstat.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getfsstat.2,v 1.13 2003/06/02 20:18:39 millert Exp $ +.\" $OpenBSD: getfsstat.2,v 1.14 2003/11/21 10:45:48 jmc Exp $ .\" $NetBSD: getfsstat.2,v 1.6 1995/06/29 11:40:44 cgd Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -51,8 +51,8 @@ structures defined as follows: .Bd -literal typedef struct { int32_t val[2]; } fsid_t; -#define MFSNAMELEN 16 /* length of fs type name, including NUL */ -#define MNAMELEN 32 /* length of buffer for returned name */ +#define MFSNAMELEN 16 /* length of fs type name, including nul */ +#define MNAMELEN 90 /* length of buffer for returned name */ struct statfs { u_int32_t f_flags; /* copy of mount flags */ @@ -67,7 +67,8 @@ struct statfs { uid_t f_owner; /* user that mounted the file system */ u_int32_t f_syncwrites; /* count of sync writes since mount */ u_int32_t f_asyncwrites; /* count of async writes since mount */ - u_int32_t f_spare[4]; /* spare for later */ + u_int32_t f_ctime; /* last mount [-u] time */ + u_int32_t f_spare[3]; /* spare for later */ char f_fstypename[MFSNAMELEN]; /* fs type name */ char f_mntonname[MNAMELEN]; /* directory on which mounted */ char f_mntfromname[MNAMELEN]; /* mounted file system */ diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2 index 2023b72bc98..ce8812898ff 100644 --- a/lib/libc/sys/statfs.2 +++ b/lib/libc/sys/statfs.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: statfs.2,v 1.15 2003/06/02 20:18:39 millert Exp $ +.\" $OpenBSD: statfs.2,v 1.16 2003/11/21 10:45:48 jmc Exp $ .\" $NetBSD: statfs.2,v 1.10 1995/06/29 11:40:48 cgd Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -55,7 +55,7 @@ structure defined as follows: .Bd -literal typedef struct { int32_t val[2]; } fsid_t; -#define MFSNAMELEN 16 /* length of fs type name, including NUL */ +#define MFSNAMELEN 16 /* length of fs type name, including nul */ #define MNAMELEN 90 /* length of buffer for returned name */ struct statfs { @@ -71,7 +71,8 @@ struct statfs { uid_t f_owner; /* user that mounted the file system */ u_int32_t f_syncwrites; /* count of sync writes since mount */ u_int32_t f_asyncwrites; /* count of async writes since mount */ - u_int32_t f_spare[4]; /* spare for later */ + u_int32_t f_ctime; /* last mount [-u] time */ + u_int32_t f_spare[3]; /* spare for later */ char f_fstypename[MFSNAMELEN]; /* fs type name */ char f_mntonname[MNAMELEN]; /* directory on which mounted */ char f_mntfromname[MNAMELEN]; /* mounted file system */ |