/freebsd/usr.sbin/makefs/ |
H A D | makefs.c | 97 fstype_t *fstype; in main() local 107 if ((fstype = get_fstype(DEFAULT_FSTYPE)) == NULL) in main() 115 if (fstype->prepare_options) in main() 116 fstype->prepare_options(&fsoptions); in main() 148 usage(fstype, &fsoptions); in main() 221 if (! fstype->parse_options(p, &fsoptions)) in main() 222 usage(fstype, &fsoptions); in main() 250 if (fstype->cleanup_options) in main() 251 fstype->cleanup_options(&fsoptions); in main() 253 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 | 34 fstype=${i%:*} 35 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 | 59 typeset fstype=$(get_prop type $dataset) 61 if [[ $fstype == "filesystem" ]] ; then 73 typeset fstype=$(get_prop type $dataset) 75 if [[ $fstype == "filesystem" ]] ; then 92 typeset fstype=$(get_prop type $dataset) 100 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 | 41 ismounted $recvmnt $fstype && log_must umount $recvmnt 42 ismounted $mntpnt $fstype && log_must umount $mntpnt 61 typeset fstype=none 72 fstype=ext4 77 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 | 63 static hammer_uuid_t fsid, fstype; in test_ondisk() local 80 memcpy(&fstype, &ondisk->vol_fstype, sizeof(fstype)); in test_ondisk() 87 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/usr.sbin/bsdinstall/partedit/ |
H A D | part_wizard.c | 52 const char *fstype; in part_wizard() local 60 fstype = fsreq; in part_wizard() 62 fstype = "ufs"; in part_wizard() 92 error = wizard_makeparts(&mesh, schemeroot, fstype, 1); in part_wizard() 333 wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype, in wizard_makeparts() argument 347 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/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/periodic/etc/daily/ |
H A D | 100.clean-disks | 43 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \
|
/freebsd/bin/df/ |
H A D | df.c | 58 int fstype; member 469 mwp->fstype = imax(mwp->fstype, (int)strlen("Type")); in prtstat() 490 xo_emit(" {T:/%-*s}", mwp->fstype, "Type"); in prtstat() 514 xo_emit(" {:type/%-*s}", mwp->fstype, sfsp->f_fstypename); in prtstat() 591 mwp->fstype = imax(mwp->fstype, (int)strlen(sfsp->f_fstypename)); in update_maxwidths()
|
/freebsd/usr.bin/locate/locate/ |
H A D | updatedb.sh | 72 for fstype in $FILESYSTEMS 74 excludes="$excludes $or -fstype $fstype"
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/ |
H A D | spl_vfs.c | 119 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, in mount_snapshot() argument 138 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in mount_snapshot() 140 if (error == 0 && (vfsp = vfs_byname_kld(fstype, td, &error)) == NULL) in mount_snapshot()
|
/freebsd/sbin/mount_udf/ |
H A D | mount_udf.c | 77 char fstype[] = "udf"; in main() local 124 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
|
/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/sbin/mount_unionfs/ |
H A D | mount_unionfs.c | 122 char fstype[] = "unionfs"; in main() local 174 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
|
/freebsd/sys/contrib/openzfs/etc/zfs/ |
H A D | zfs-functions.in | 348 local fs mntpnt fstype opts rest 354 while read -r fs mntpnt fstype opts rest; do 355 if echo "$fs $mntpnt $fstype $opts" | grep -qE "$match"; then 399 while read -r fs mntpnt fstype opts; do 402 echo "$fstype" | grep -qE '^swap' && continue 404 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/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/kern/ |
H A D | vfs_init.c | 133 vfs_byname_kld(const char *fstype, struct thread *td, int *error) in vfs_byname_kld() argument 138 vfsp = vfs_byname(fstype); in vfs_byname_kld() 143 *error = kern_kldload(td, fstype, &fileid); in vfs_byname_kld() 153 vfsp = vfs_byname(fstype); in vfs_byname_kld()
|