mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Update to reflect new Lite2 mount.h.
This commit is contained in:
parent
7b9099712a
commit
4cb0cd1bb5
2 changed files with 16 additions and 6 deletions
|
|
@ -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 */
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue