HomeSort by: relevance | last modified time | path
    Searched refs:MNTTAB (Results 1 - 7 of 7) sorted by relevancy

  /src/external/bsd/am-utils/dist/conf/checkmount/
checkmount_svr4.c 54 struct mnttab ment;
59 if (!(mtab = fopen(MNTTAB, "r"))) {
60 perror(MNTTAB);
77 fprintf(stderr, "getmntent: %s: %s\n", MNTTAB,
  /src/external/cddl/osnet/include/
mnttab.h 1 /* $NetBSD: mnttab.h,v 1.4 2018/05/28 21:05:08 chs Exp $ */
41 #define MNTTAB _PATH_DEVNULL
52 struct mnttab { struct
58 #define extmnttab mnttab
60 int getmntany(FILE *fd, struct mnttab *mgetp, struct mnttab *mrefp);
61 int getmntent(FILE *fp, struct mnttab *mp);
62 char *hasmntopt(struct mnttab *mnt, char *opt);
65 void statvfs2mnttab(struct statvfs *sfs, struct mnttab *mp);
  /src/external/cddl/osnet/sys/sys/
mnttab.h 1 /* $NetBSD: mnttab.h,v 1.5 2018/05/28 21:05:10 chs Exp $ */
37 #include <mnttab.h>
51 #define MNTTAB "/dev/null"
65 struct mnttab {
74 * NOTE: fields in extmnttab should match struct mnttab till new fields
76 * a pointer to an extmnttab struct cast to a mnttab struct pointer.
91 extern int getmntent(FILE *, struct mnttab *);
93 extern int getmntany(FILE *, struct mnttab *, struct mnttab *);
95 extern char *hasmntopt(struct mnttab *, char *)
    [all...]
  /src/external/bsd/am-utils/dist/include/
mount_headers1.h 82 # include <sys/mnttab.h>
84 #if defined(HAVE_MNTTAB_H) && !defined(MNTTAB)
86 * Do not include it if MNTTAB is already defined because it probably
87 * came from <sys/mnttab.h> and we do not want conflicting definitions.
89 # include <mnttab.h>
90 #endif /* defined(HAVE_MNTTAB_H) && !defined(MNTTAB) */
am_defs.h 1129 * Actions to take if <sys/mnttab.h> exists.
1132 # include <sys/mnttab.h>
1136 * Actions to take if <mnttab.h> exists.
1137 * Do not include it if MNTTAB is already defined because it probably
1138 * came from <sys/mnttab.h> and we do not want conflicting definitions.
1140 #if defined(HAVE_MNTTAB_H) && !defined(MNTTAB)
1141 # include <mnttab.h>
1142 #endif /* defined(HAVE_MNTTAB_H) && !defined(MNTTAB) */
1401 * Defaults to struct mntent, else struct mnttab. If neither is found, and
1411 typedef struct mnttab mntent_t
    [all...]
  /src/external/cddl/osnet/dist/lib/libzfs/common/
libzfs_util.c 48 #include <sys/mnttab.h>
672 if ((hdl->libzfs_mnttab = fopen(MNTTAB, "r")) == NULL) {
735 * (starts with '/' or "./"). If so, walk the mnttab trying
  /src/external/cddl/osnet/dist/cmd/zfs/
zfs_main.c 55 #include <sys/mnttab.h>
5851 struct mnttab mnt;
6193 struct mnttab entry;
6202 * When mount is given no arguments, go through /etc/mnttab and
6280 * absolute path, find the entry /etc/mnttab, verify that its a ZFS filesystem,
6294 * Search for the path in /etc/mnttab. Rather than looking for the
6347 (void) fprintf(stderr, gettext("warning: %s not in mnttab\n"),
6461 * since we would have to linearly search /etc/mnttab for each
6462 * one. Instead, do one pass through /etc/mnttab looking for
6472 struct mnttab entry
    [all...]

Completed in 48 milliseconds