diff options
author | mpp <mpp@FreeBSD.org> | 1997-02-10 07:29:25 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1997-02-10 07:29:25 +0000 |
commit | 376473c9704d42be409fd33ad154bb6b1dafd1cd (patch) | |
tree | 183db4efe64609f93156c605965d526044cdfd05 /lib/libc/sys/getfsstat.2 | |
parent | d556a1264a8ca4b42af3e7c7b32b91970dbba3ac (diff) | |
download | FreeBSD-src-376473c9704d42be409fd33ad154bb6b1dafd1cd.zip FreeBSD-src-376473c9704d42be409fd33ad154bb6b1dafd1cd.tar.gz |
Update to reflect new Lite2 mount.h.
Diffstat (limited to 'lib/libc/sys/getfsstat.2')
-rw-r--r-- | lib/libc/sys/getfsstat.2 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2 index 9b8dad8..26363fa 100644 --- a/lib/libc/sys/getfsstat.2 +++ b/lib/libc/sys/getfsstat.2 @@ -51,13 +51,14 @@ is a pointer to .Xr statfs structures defined as follows: .Bd -literal -typedef struct fsid { long val[2]; } fsid_t; /* file system id type */ +typedef struct fsid { int32_t val[2]; } fsid_t; /* file system id type */ /* * file system statistics */ -#define MNAMELEN 90 /* length of buffer for returned name */ +#define MFSNAMELEN 16 /* length of fs type name, including null */ +#define MNAMELEN 90 /* length of buffer for returned name */ struct statfs { long f_spare2; /* placeholder */ @@ -72,7 +73,8 @@ struct statfs { 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 */ + long f_spare[2]; /* spare for later */ + char f_fstypename[MFSNAMELEN];/* fs type name */ char f_mntonname[MNAMELEN];/* directory on which mounted */ char f_mntfromname[MNAMELEN];/* mounted filesystem */ }; |