diff options
| author | David Malone <dwmalone@FreeBSD.org> | 2001-05-01 13:07:25 +0000 |
|---|---|---|
| committer | David Malone <dwmalone@FreeBSD.org> | 2001-05-01 13:07:25 +0000 |
| commit | 731742939a7cc3fa97d9d005d989d23af2c2af32 (patch) | |
| tree | 72dad76c6c82d747a9755080a71d2ce7bd7f7a68 /lib/libc | |
| parent | 552055257740aa39edb191a7b985c2da2baecad3 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/sys/statfs.2 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2 index 3f49d59246d1..7119d2565797 100644 --- a/lib/libc/sys/statfs.2 +++ b/lib/libc/sys/statfs.2 @@ -67,7 +67,6 @@ typedef struct fsid { int32_t val[2]; } fsid_t; /* file system id type */ #define MNAMELEN 90 /* length of buffer for returned name */ struct statfs { -long f_spare2; /* placeholder */ long f_bsize; /* fundamental file system block size */ long f_iosize; /* optimal transfer block size */ long f_blocks; /* total data blocks in file system */ @@ -77,17 +76,19 @@ long f_files; /* total file nodes in file system */ long f_ffree; /* free file nodes in fs */ fsid_t f_fsid; /* file system id */ uid_t f_owner; /* user that mounted the filesystem */ -int f_type; /* type of filesystem (see below) */ +int f_type; /* type of filesystem */ int f_flags; /* copy of mount flags */ long f_syncwrites; /* count of sync writes since mount */ long f_asyncwrites; /* count of async writes since mount */ char f_fstypename[MFSNAMELEN];/* fs type name */ -char f_mntonname[MNAMELEN]; /* mount point */ -char f_mntfromname[MNAMELEN]; /* mounted filesystem */ +char f_mntonname[MNAMELEN]; /* mount point */ +long f_syncreads; /* count of sync reads since mount */ +long f_asyncreads; /* count of async reads since mount */ +char f_mntfromname[MNAMELEN]; /* mounted filesystem */ }; .Ed The flags that may be returned include: -.Bl -tag -width MNT_ASYNCHRONOUS +.Bl -tag -width MNT_SYNCHRONOUS .It Dv MNT_RDONLY The filesystem is mounted read-only; Even the super-user may not write on it. @@ -99,7 +100,7 @@ Setuid and setgid bits on files are not honored when they are executed. Special files in the filesystem may not be opened. .It Dv MNT_SYNCHRONOUS All I/O to the filesystem is done synchronously. -.It Dv MNT_ASYNCHRONOUS +.It Dv MNT_ASYNC No filesystem I/O is done synchronously. .It Dv MNT_LOCAL The filesystem resides locally. |
