diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-03-16 20:24:15 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-03-16 20:24:15 +0000 |
commit | 90994d2a3d947d8507059748ac36c2b904877d45 (patch) | |
tree | ba525c6236f54085c65d235d7b11ca471559acf8 /lib | |
parent | 0aeb53dc84e69c495d476986afca7339d5a0c104 (diff) |
sync with sys/statfs.h; ok jmc@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/statfs.2 | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2 index d4e646b5dd9..0e936d9019e 100644 --- a/lib/libc/sys/statfs.2 +++ b/lib/libc/sys/statfs.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: statfs.2,v 1.18 2007/05/31 19:19:34 jmc Exp $ +.\" $OpenBSD: statfs.2,v 1.19 2008/03/16 20:24:14 otto Exp $ .\" $NetBSD: statfs.2,v 1.10 1995/06/29 11:40:48 cgd Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)statfs.2 8.3 (Berkeley) 2/11/94 .\" -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: March 16 2008 $ .Dt STATFS 2 .Os .Sh NAME @@ -60,24 +60,29 @@ typedef struct { int32_t val[2]; } fsid_t; #define MNAMELEN 90 /* length of buffer for returned name */ struct statfs { - u_int32_t f_flags; /* copy of mount flags */ - int32_t f_bsize; /* fundamental file system block size */ - u_int32_t f_iosize; /* optimal transfer block size */ - u_int32_t f_blocks; /* total data blocks in file system */ - u_int32_t f_bfree; /* free blocks in fs */ - int32_t f_bavail; /* free blocks avail to non-superuser */ - u_int32_t f_files; /* total file nodes in file system */ - u_int32_t f_ffree; /* free file nodes in fs */ - fsid_t f_fsid; /* file system id */ - 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_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 */ - union mount_info mount_info; /* per-filesystem mount options */ + u_int32_t f_flags; /* copy of mount flags */ + u_int32_t f_bsize; /* file system block size */ + u_int32_t f_iosize; /* optimal transfer block size */ + /* unit is f_bsize */ + u_int64_t f_blocks; /* total data blocks in file system */ + u_int64_t f_bfree; /* free blocks in fs */ + int64_t f_bavail; /* free blocks avail to non-superuser */ + u_int64_t f_files; /* total file nodes in file system */ + u_int64_t f_ffree; /* free file nodes in fs */ + int64_t f_favail; /* free file nodes avail to non-root */ + u_int64_t f_syncwrites; /* count of sync writes since mount */ + u_int64_t f_syncreads; /* count of sync reads since mount */ + u_int64_t f_asyncwrites; /* count of async writes since mount */ + u_int64_t f_asyncreads; /* count of async reads since mount */ + fsid_t f_fsid; /* file system id */ + u_int32_t f_namemax; /* maximum filename length */ + uid_t f_owner; /* user that mounted the file system */ + 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 */ + union mount_info mount_info; /* per-filesystem mount options */ }; .Ed .Pp |