| /NextBSD/usr.sbin/makefs/ |
| HD | makefs.c | 91 fstype_t *fstype; in main() local 101 if ((fstype = get_fstype(DEFAULT_FSTYPE)) == NULL) in main() 109 if (fstype->prepare_options) in main() 110 fstype->prepare_options(&fsoptions); in main() 205 if (! fstype->parse_options(p, &fsoptions)) in main() 234 if (fstype->cleanup_options) in main() 235 fstype->cleanup_options(&fsoptions); in main() 237 if ((fstype = get_fstype(optarg)) == NULL) in main() 239 fstype->prepare_options(&fsoptions); in main() 325 fstype->make_fs(argv[0], subtree, root, &fsoptions); in main()
|
| /NextBSD/etc/rc.d/ |
| HD | mountcritremote | 59 fstype=${i%:*} 62 [ "${fstype}" = "nfs" ] && continue 64 case "`mount -d -a -t ${fstype}`" in 65 *mount_${fstype}*) 67 mount -a -t ${fstype}
|
| HD | mountcritlocal | 34 fstype=${i%:*} 35 mount_excludes="${mount_excludes}${fstype},"
|
| /NextBSD/sys/geom/part/ |
| HD | g_part_bsd64.c | 117 uint8_t fstype; member 187 uint8_t fstype; member 228 entry->fstype = lt; in bsd64_parse_type() 242 entry->fstype = uap->fstype; in bsd64_parse_type() 247 entry->fstype = FS_OTHER; in bsd64_parse_type() 255 entry->fstype = uap->fstype; in bsd64_parse_type() 263 entry->fstype = uap->fstype; in bsd64_parse_type() 379 sbuf_printf(sb, " xs BSD64 xt %u", entry->fstype); in g_part_bsd64_dumpconf() 383 entry->fstype); in g_part_bsd64_dumpconf() 418 if (entry->fstype == FS_SWAP || in g_part_bsd64_dumpto() [all …]
|
| /NextBSD/sbin/mount/ |
| HD | mount_fs.c | 82 char fstype[32]; in mount_fs() local 86 strlcpy(fstype, vfstype, sizeof(fstype)); in mount_fs() 126 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in mount_fs()
|
| /NextBSD/cddl/compat/opensolaris/misc/ |
| HD | zmount.c | 73 zmount(const char *spec, const char *dir, int mflag, char *fstype, in zmount() argument 83 assert(fstype != NULL); in zmount() 84 assert(strcmp(fstype, MNTTYPE_ZFS) == 0); in zmount() 97 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in zmount()
|
| /NextBSD/bin/df/ |
| HD | df.c | 73 int fstype; member 110 const char *fstype; in main() local 116 fstype = "ufs"; in main() 186 fstype = optarg; in main() 243 if (mount(fstype, mntpt, MNT_RDONLY, in main() 435 mwp->fstype = imax(mwp->fstype, (int)strlen("Type")); in prtstat() 456 xo_emit(" {T:/%-*s}", mwp->fstype, "Type"); in prtstat() 480 xo_emit(" {:type/%-*s}", mwp->fstype, sfsp->f_fstypename); in prtstat() 554 mwp->fstype = imax(mwp->fstype, (int)strlen(sfsp->f_fstypename)); in update_maxwidths()
|
| /NextBSD/usr.sbin/autofs/ |
| HD | automountd.c | 180 char *key, *options, *fstype, *nobrowse, *retrycnt, *tmp; in handle_request() local 325 fstype = pick_option("fstype=", &options); in handle_request() 326 if (fstype == NULL) { in handle_request() 329 fstype = checked_strdup("nfs"); in handle_request() 332 if (strcmp(fstype, "nfs") == 0) { in handle_request() 350 f = auto_popen("mount", "-t", fstype, "-o", options, in handle_request()
|
| /NextBSD/usr.sbin/bsdinstall/partedit/ |
| HD | part_wizard.c | 54 const char *fstype; in part_wizard() local 57 fstype = fsreq; in part_wizard() 59 fstype = "ufs"; in part_wizard() 82 error = wizard_makeparts(&mesh, schemeroot, fstype, 1); in part_wizard() 298 wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype, int interactive) in wizard_makeparts() argument 309 if (strcmp(fstype, "zfs") == 0) { in wizard_makeparts()
|
| HD | partedit.h | 57 int part_wizard(const char *fstype); 59 int wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype,
|
| /NextBSD/sys/kern/ |
| HD | vfs_init.c | 137 vfs_byname_kld(const char *fstype, struct thread *td, int *error) in vfs_byname_kld() argument 142 vfsp = vfs_byname(fstype); in vfs_byname_kld() 147 *error = kern_kldload(td, fstype, &fileid); in vfs_byname_kld() 155 vfsp = vfs_byname(fstype); in vfs_byname_kld()
|
| HD | vfs_mount.c | 73 static int vfs_domount(struct thread *td, const char *fstype, char *fspath, 538 char *fstype, *fspath, *errmsg; in vfs_donmount() local 558 error = vfs_getopt(optlist, "fstype", (void **)&fstype, &fstypelen); in vfs_donmount() 559 if (error || fstype[fstypelen - 1] != '\0') { in vfs_donmount() 668 error = vfs_domount(td, fstype, fspath, fsflags, &optlist); in vfs_donmount() 711 char *fstype; local 735 fstype = malloc(MFSNAMELEN, M_TEMP, M_WAITOK); 736 error = copyinstr(uap->type, fstype, MFSNAMELEN, NULL); 738 free(fstype, M_TEMP); 742 AUDIT_ARG_TEXT(fstype); [all …]
|
| /NextBSD/etc/periodic/daily/ |
| HD | 100.clean-disks | 44 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \
|
| /NextBSD/usr.bin/locate/locate/ |
| HD | updatedb.sh | 70 for fstype in $FILESYSTEMS 72 excludes="$excludes $or -fstype $fstype"
|
| /NextBSD/share/examples/hast/ |
| HD | ucarp_down.sh | 35 fstype="UFS" 61 case "${fstype}" in
|
| HD | ucarp_up.sh | 35 fstype="UFS" 74 case "${fstype}" in
|
| /NextBSD/sys/cddl/compat/opensolaris/kern/ |
| HD | opensolaris_vfs.c | 115 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, in mount_snapshot() argument 129 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in mount_snapshot() 132 vfsp = vfs_byname_kld(fstype, td, &error); in mount_snapshot()
|
| /NextBSD/sbin/mount_nfs/ |
| HD | mount_nfs.c | 156 const char *fstype, *gssname; in main() local 163 fstype = strrchr(argv[0], '_'); in main() 164 if (fstype == NULL) in main() 167 ++fstype; in main() 275 fstype = "nfs"; in main() 358 fstype = "nfs"; in main() 443 if (strcmp(fstype, "nfs") == 0) { in main() 474 __DECONST(void *, fstype), (size_t)-1); in main()
|
| /NextBSD/sbin/mount_udf/ |
| HD | mount_udf.c | 77 char fstype[] = "udf"; in main() local 124 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
|
| /NextBSD/sbin/mount_unionfs/ |
| HD | mount_unionfs.c | 135 char fstype[] = "unionfs"; in main() local 187 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
|
| /NextBSD/contrib/netbsd-tests/fs/vfs/ |
| HD | t_vfsops.c | 54 const char *fstype = atf_tc_get_md_var(tc, "X-fs.mntname"); in tstatvfs() local 62 ATF_REQUIRE_STREQ(svb.f_fstypename, fstype); in tstatvfs()
|
| /NextBSD/sys/compat/linprocfs/ |
| HD | linprocfs.c | 324 char *dlep, *flep, *mntto, *mntfrom, *fstype; in linprocfs_domtab() local 361 fstype = sp->f_fstypename; in linprocfs_domtab() 362 if (strcmp(fstype, pn->pn_info->pi_name) == 0) in linprocfs_domtab() 363 mntfrom = fstype = "proc"; in linprocfs_domtab() 364 else if (strcmp(fstype, "procfs") == 0) in linprocfs_domtab() 367 if (strcmp(fstype, "linsysfs") == 0) { in linprocfs_domtab() 372 if (strcmp(fstype, "msdosfs") == 0) in linprocfs_domtab() 373 fstype = "vfat"; in linprocfs_domtab() 374 sbuf_printf(sb, "%s %s %s %s", mntfrom, mntto, fstype, in linprocfs_domtab()
|
| /NextBSD/sbin/mount_cd9660/ |
| HD | mount_cd9660.c | 90 char fstype[] = "cd9660"; in main() local 176 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
|
| /NextBSD/usr.sbin/bsdconfig/share/media/ |
| HD | ufs.subr | 78 local fstype 79 fstype=$( df -nT $ufs 2> /dev/null | 83 device_ufs set name ${fstype:-ufs}
|
| /NextBSD/contrib/netbsd-tests/fs/common/ |
| HD | h_fsmacros.h | 259 const char *fstype; in atf_check_fstype() local 264 fstype = atf_tc_get_config_var(tc, "fstype"); in atf_check_fstype() 265 if (strcmp(fstype, fs) == 0) in atf_check_fstype()
|