Lines Matching refs:fstype
282 implied = (*w != '/') || (strstr(defaultopts, "fstype=smbfs") != NULL);
565 #define FSTYPE "fstype"
566 #define FSTYPE_EQ "fstype="
572 * sets the mapentry's options, fstype and mounter fields by separating
573 * out the fstype part from the opts. Use default options if opts is NULL.
582 char fstype[MAX_FSLEN], mounter[MAX_FSLEN];
586 strcpy(fstype, MNTTYPE_NFS); /* default */
592 strcpy(mounter, fstype);
599 /* separate opts into fstype and (other) entrypopts */
600 get_opts(opts, entryopts, fstype, &fstype_opt);
607 strcpy(mounter, fstype);
610 * child options are exactly fstype = somefs, we need to do some
622 if (((me->map_fstype = strdup(fstype)) == NULL) ||
634 * Check the option string for an "fstype"
635 * option. If found, return the fstype
636 * and the option string with the fstype
639 * input: "fstype=nfs,ro,nosuid"
641 * fstype: "nfs"
643 * Also indicates if the fstype option was present
648 get_opts(input, opts, fstype, fstype_opt)
651 char *fstype; /* output */
666 (void) strcpy(fstype, p + 7);
679 * fstype=somefs.
1791 char fstype[32], mounter[32];
1809 (void) strcpy(fstype, MNTTYPE_NFS);
1810 get_opts(mapopts, entryopts, fstype, NULL);
1814 ms->map_mounter = strdup(fstype);
1958 (void) strcpy(fstype, MNTTYPE_NFS);
1959 get_opts(mapopts, entryopts, fstype, NULL);
1960 (void) strcpy(mounter, fstype);
1998 me->map_fstype = strdup(fstype);
2070 static const char uatfs_err[] = "submount under fstype=autofs not supported";