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/statfs.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/statfs.2')
-rw-r--r-- | lib/libc/sys/statfs.2 | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2 index 40aba83..f5641a59 100644 --- a/lib/libc/sys/statfs.2 +++ b/lib/libc/sys/statfs.2 @@ -54,9 +54,14 @@ is a pointer to a .Fn statfs structure defined as follows: .Bd -literal -typedef quad fsid_t; +typedef struct fsid { int32_t val[2]; } fsid_t; /* file system id type */ -#define MNAMELEN 90 /* length of buffer for returned name */ +/* + * file system statistics + */ + +#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 */ @@ -71,7 +76,8 @@ 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_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]; /* mount point */ char f_mntfromname[MNAMELEN]; /* mounted filesystem */ }; @@ -95,6 +101,8 @@ char f_mntfromname[MNAMELEN]; /* mounted filesystem */ #define MOUNT_UNION 15 /* Union (translucent) Filesystem */ #define MOUNT_DEVFS 16 /* existing device Filesystem */ #define MOUNT_EXT2FS 17 /* Linux EXT2FS */ +#define MOUNT_TFS 18 /* Netcon Novell filesystem */ +#define MOUNT_MAXTYPE 18 .Ed .Pp Fields that are undefined for a particular file system are set to -1. |