summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-09-07 21:50:31 +0000
committerpeter <peter@FreeBSD.org>1996-09-07 21:50:31 +0000
commitc8cddce120968bc80ead574a2ee74e7e365ad49e (patch)
tree852eae0e64df480bdea9340d28e3b23d9d41a335
parent4ac8c50b29d1c541ec2e338ab79c96e1d17a723c (diff)
downloadFreeBSD-src-c8cddce120968bc80ead574a2ee74e7e365ad49e.zip
FreeBSD-src-c8cddce120968bc80ead574a2ee74e7e365ad49e.tar.gz
Resync statfs struct with sys/mount.h.
-rw-r--r--lib/libc/sys/statfs.210
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2
index 49a8a5a..79b8b8a 100644
--- a/lib/libc/sys/statfs.2
+++ b/lib/libc/sys/statfs.2
@@ -59,8 +59,7 @@ typedef quad fsid_t;
#define MNAMELEN 90 /* length of buffer for returned name */
struct statfs {
-short f_type; /* type of filesystem (see below) */
-short f_flags; /* copy of mount flags */
+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 */
@@ -69,7 +68,10 @@ 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 */
-long f_spare[9]; /* spare for later */
+uid_t f_owner; /* user that mounted the filesystem */
+int f_type; /* type of filesystem (see below) */
+int f_flags; /* copy of mount flags */
+long f_spare[6]; /* spare for later */
char f_mntonname[MNAMELEN]; /* mount point */
char f_mntfromname[MNAMELEN]; /* mounted filesystem */
};
@@ -91,6 +93,8 @@ char f_mntfromname[MNAMELEN]; /* mounted filesystem */
#define MOUNT_AFS 13 /* Andrew Filesystem */
#define MOUNT_CD9660 14 /* ISO9660 (aka CDROM) Filesystem */
#define MOUNT_UNION 15 /* Union (translucent) Filesystem */
+#define MOUNT_DEVFS 16 /* existing device Filesystem */
+#define MOUNT_EXT2FS 17 /* Linux EXT2FS */
.Ed
.Pp
Fields that are undefined for a particular file system are set to -1.
OpenPOWER on IntegriCloud