| /freebsd/usr.sbin/makefs/ |
| H A D | makefs.c | 98 fstype_t *fstype; in main() local 115 if ((fstype = get_fstype(DEFAULT_FSTYPE)) == NULL) in main() 123 if (fstype->prepare_options) in main() 124 fstype->prepare_options(&fsoptions); in main() 156 usage(fstype, &fsoptions); in main() 229 if (! fstype->parse_options(p, &fsoptions)) in main() 230 usage(fstype, &fsoptions); in main() 258 if (fstype->cleanup_options) in main() 259 fstype->cleanup_options(&fsoptions); in main() 261 if ((fstype = get_fstype(optarg)) == NULL) in main() [all …]
|
| /freebsd/libexec/rc/rc.d/ |
| H A D | mountcritremote | 62 fstype=${i%:*} 65 [ "${fstype}" = "nfs" ] && continue 67 case "`mount -d -a -t ${fstype}`" in 68 *mount_${fstype}*) 71 mount -a -t ${fstype}
|
| H A D | mountcritlocal | 43 fstype=${i%:*} 44 mount_excludes="${mount_excludes}${fstype},"
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
| H A D | readonly_001_pos.ksh | 60 typeset fstype=$(get_prop type $dataset) 62 if [[ $fstype == "filesystem" ]] ; then 74 typeset fstype=$(get_prop type $dataset) 76 if [[ $fstype == "filesystem" ]] ; then 93 typeset fstype=$(get_prop type $dataset) 101 case $fstype in
|
| /freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
| H A D | readonly_001_pos.ksh | 68 typeset fstype=$(get_prop type $dataset) 70 if [[ $fstype == "filesystem" ]] ; then 82 typeset fstype=$(get_prop type $dataset) 84 if [[ $fstype == "filesystem" ]] ; then 101 typeset fstype=$(get_prop type $dataset) 109 case $fstype in
|
| /freebsd/sys/geom/part/ |
| H A D | g_part_bsd64.c | 115 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 …]
|
| /freebsd/sys/contrib/openzfs/contrib/dracut/02zfsexpandknowledge/ |
| H A D | module-setup.sh.in | 38 local fstype 48 [[ "$fstype" = "zfs" ]] || continue 69 local fstype 100 fstype=$(get_devtype "$dev") 101 host_fs_types["$dev"]="$fstype"
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
| H A D | send-wR_encrypted_zvol.ksh | 42 ismounted $recvmnt $fstype && log_must umount $recvmnt 43 ismounted $mntpnt $fstype && log_must umount $mntpnt 62 typeset fstype=none 73 fstype=ext4 78 fstype=$NEWFS_DEFAULT_FS
|
| /freebsd/sbin/mount/ |
| H A D | mount_fs.c | 70 char fstype[32]; in mount_fs() local 74 strlcpy(fstype, vfstype, sizeof(fstype)); in mount_fs() 114 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in mount_fs()
|
| /freebsd/usr.sbin/fstyp/ |
| H A D | hammer.c | 65 static hammer_uuid_t fsid, fstype; in test_ondisk() local 82 memcpy(&fstype, &ondisk->vol_fstype, sizeof(fstype)); in test_ondisk() 89 if (memcmp(&ondisk->vol_fstype, &fstype, sizeof(fstype))) in test_ondisk()
|
| /freebsd/usr.sbin/autofs/ |
| H A D | automountd.c | 177 char *key, *options, *fstype, *nobrowse, *retrycnt, *tmp; in handle_request() local 322 fstype = pick_option("fstype=", &options); in handle_request() 323 if (fstype == NULL) { in handle_request() 326 fstype = checked_strdup("nfs"); in handle_request() 329 if (strcmp(fstype, "nfs") == 0) { in handle_request() 347 f = auto_popen("mount", "-t", fstype, "-o", options, in handle_request()
|
| /freebsd/libexec/makewhatis.local/ |
| H A D | makewhatis.local.sh | 49 localdirs=`find -H $dirs -fstype local \! -fstype rdonly -type d -prune -print`
|
| /freebsd/usr.sbin/bsdinstall/partedit/ |
| H A D | part_wizard.c | 73 const char *fstype; in part_wizard() local 81 fstype = fsreq; in part_wizard() 83 fstype = "ufs"; in part_wizard() 113 error = wizard_makeparts(&mesh, schemeroot, fstype, 1); in part_wizard() 354 wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype, in wizard_makeparts() argument 368 if (strcmp(fstype, "zfs") == 0) { in wizard_makeparts()
|
| H A D | partedit.h | 59 int part_wizard(const char *fstype); 62 int wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype,
|
| /freebsd/usr.sbin/periodic/etc/daily/ |
| H A D | 100.clean-disks | 43 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \
|
| /freebsd/usr.bin/locate/locate/ |
| H A D | updatedb.sh | 72 for fstype in $FILESYSTEMS 74 excludes="$excludes $or -fstype $fstype"
|
| /freebsd/bin/df/ |
| H A D | df.c | 58 int fstype; member 470 mwp->fstype = imax(mwp->fstype, (int)strlen("Type")); in prtstat() 491 xo_emit(" {T:/%-*s}", mwp->fstype, "Type"); in prtstat() 515 xo_emit(" {:type/%-*s}", mwp->fstype, sfsp->f_fstypename); in prtstat() 592 mwp->fstype = imax(mwp->fstype, (int)strlen(sfsp->f_fstypename)); in update_maxwidths()
|
| /freebsd/sbin/mount_udf/ |
| H A D | mount_udf.c | 76 char fstype[] = "udf"; in main() local 123 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_vfs.c | 120 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, in mount_snapshot() argument 139 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in mount_snapshot() 141 if (error == 0 && (vfsp = vfs_byname_kld(fstype, td, &error)) == NULL) in mount_snapshot()
|
| /freebsd/sbin/mount_unionfs/ |
| H A D | mount_unionfs.c | 121 char fstype[] = "unionfs"; in main() local 173 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
|
| /freebsd/tools/boot/ |
| H A D | install-boot.sh | 89 local dev file dst mntpt fstype efibootname kbfree loadersize efibootfile 106 fstype=$(fstyp "${dev}") 108 if [ "${fstype}" != "msdosfs" ]; then
|
| /freebsd/sys/contrib/openzfs/etc/zfs/ |
| H A D | zfs-functions.in | 349 local fs mntpnt fstype opts rest 355 while read -r fs mntpnt fstype opts rest; do 356 if echo "$fs $mntpnt $fstype $opts" | grep -qE "$match"; then 400 while read -r fs mntpnt fstype opts; do 403 echo "$fstype" | grep -qE '^swap' && continue 405 if echo "$fs $mntpnt $fstype $opts" | grep -qE "$match"; then
|
| /freebsd/contrib/netbsd-tests/fs/vfs/ |
| H A D | 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()
|
| /freebsd/sys/compat/linprocfs/ |
| H A D | linprocfs.c | 451 const char **mntfrom, const char **mntto, const char **fstype) in _mtab_helper() argument 460 *fstype = sp->f_fstypename; in _mtab_helper() 461 if (strcmp(*fstype, pn->pn_info->pi_name) == 0) in _mtab_helper() 462 *mntfrom = *fstype = "proc"; in _mtab_helper() 463 else if (strcmp(*fstype, "procfs") == 0) in _mtab_helper() 466 if (strcmp(*fstype, "autofs") == 0) { in _mtab_helper() 475 if (strcmp(*fstype, "linsysfs") == 0) { in _mtab_helper() 476 *mntfrom = *fstype = "sysfs"; in _mtab_helper() 479 if (strcmp(*fstype, "msdosfs") == 0) in _mtab_helper() 480 *fstype = "vfat"; in _mtab_helper() [all …]
|
| /freebsd/sys/kern/ |
| H A D | vfs_init.c | 145 vfs_byname_kld(const char *fstype, struct thread *td, int *error) in vfs_byname_kld() argument 150 vfsp = vfs_byname(fstype); in vfs_byname_kld() 155 *error = kern_kldload(td, fstype, &fileid); in vfs_byname_kld() 165 vfsp = vfs_byname(fstype); in vfs_byname_kld()
|