Lines Matching defs:mnttab
44 #include <sys/mnttab.h>
2926 * pointing to a mnttab structure containing the mount's information.
2932 zonecfg_find_mounts(char *rootpath, int (*callback)(const struct mnttab *,
2934 FILE *mnttab;
2935 struct mnttab m;
2949 mnttab = fopen("/etc/mnttab", "r");
2951 if (mnttab == NULL)
2954 if (ioctl(fileno(mnttab), MNTIOC_SHOWHIDDEN, NULL) < 0) {
2959 while (!getmntent(mnttab, &m)) {
2975 (void) fclose(mnttab);