mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 05:21:08 +01:00
10b9d77bf1
Few new things available from now on: - Data deduplication. - Triple parity RAIDZ (RAIDZ3). - zfs diff. - zpool split. - Snapshot holds. - zpool import -F. Allows to rewind corrupted pool to earlier transaction group. - Possibility to import pool in read-only mode. MFC after: 1 month
36 lines
712 B
C
36 lines
712 B
C
/* $FreeBSD$ */
|
|
|
|
#ifndef _OPENSOLARIS_MNTTAB_H_
|
|
#define _OPENSOLARIS_MNTTAB_H_
|
|
|
|
#include <sys/param.h>
|
|
#include <sys/mount.h>
|
|
|
|
#include <stdio.h>
|
|
#include <paths.h>
|
|
|
|
#define MNTTAB _PATH_DEVZERO
|
|
#define MNT_LINE_MAX 1024
|
|
|
|
#define MS_OVERLAY 0x0
|
|
#define MS_NOMNTTAB 0x0
|
|
#define MS_RDONLY 0x1
|
|
|
|
#define umount2(p, f) unmount(p, f)
|
|
|
|
struct mnttab {
|
|
char *mnt_special;
|
|
char *mnt_mountp;
|
|
char *mnt_fstype;
|
|
char *mnt_mntopts;
|
|
};
|
|
#define extmnttab mnttab
|
|
|
|
int getmntany(FILE *fd, struct mnttab *mgetp, struct mnttab *mrefp);
|
|
int getmntent(FILE *fp, struct mnttab *mp);
|
|
char *hasmntopt(struct mnttab *mnt, char *opt);
|
|
|
|
void statfs2mnttab(struct statfs *sfs, struct mnttab *mp);
|
|
|
|
#endif /* !_OPENSOLARIS_MNTTAB_H_ */
|