| /freebsd-13-stable/sys/contrib/openzfs/lib/libshare/ |
| HD | libshare.c | 53 sa_fstype_t *fstype; in register_fstype() local 55 fstype = calloc(1, sizeof (sa_fstype_t)); in register_fstype() 57 if (fstype == NULL) in register_fstype() 60 fstype->name = name; in register_fstype() 61 fstype->ops = ops; in register_fstype() 62 fstype->fsinfo_index = fstypes_count; in register_fstype() 66 fstype->next = fstypes; in register_fstype() 67 fstypes = fstype; in register_fstype() 69 return (fstype); in register_fstype() 85 sa_fstype_t *fstype; in sa_enable_share() local [all …]
|
| HD | libshare_impl.h | 39 #define FSINFO(impl_share, fstype) \ argument 40 (&(impl_share->sa_fsinfo[fstype->fsinfo_index]))
|
| /freebsd-13-stable/usr.sbin/makefs/ |
| HD | makefs.c | 95 fstype_t *fstype; in main() local 105 if ((fstype = get_fstype(DEFAULT_FSTYPE)) == NULL) in main() 113 if (fstype->prepare_options) in main() 114 fstype->prepare_options(&fsoptions); in main() 146 usage(fstype, &fsoptions); in main() 219 if (! fstype->parse_options(p, &fsoptions)) in main() 220 usage(fstype, &fsoptions); in main() 248 if (fstype->cleanup_options) in main() 249 fstype->cleanup_options(&fsoptions); in main() 251 if ((fstype = get_fstype(optarg)) == NULL) in main() [all …]
|
| /freebsd-13-stable/libexec/rc/rc.d/ |
| HD | mountcritremote | 62 fstype=${i%:*} 65 [ "${fstype}" = "nfs" ] && continue 67 case "`mount -d -a -t ${fstype}`" in 68 *mount_${fstype}*) 71 mount -a -t ${fstype}
|
| HD | mountcritlocal | 34 fstype=${i%:*} 35 mount_excludes="${mount_excludes}${fstype},"
|
| /freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
| HD | 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-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
| HD | readonly_001_pos.ksh | 71 typeset fstype=$(get_prop type $dataset) 73 if [[ $fstype == "filesystem" ]] ; then 85 typeset fstype=$(get_prop type $dataset) 87 if [[ $fstype == "filesystem" ]] ; then 104 typeset fstype=$(get_prop type $dataset) 112 case $fstype in
|
| /freebsd-13-stable/sys/geom/part/ |
| HD | g_part_bsd64.c | 116 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-13-stable/sys/contrib/openzfs/contrib/dracut/02zfsexpandknowledge/ |
| HD | 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-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
| HD | 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-13-stable/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()
|
| /freebsd-13-stable/usr.sbin/fstyp/ |
| HD | 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-13-stable/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
| HD | libzfs_zmount.c | 77 do_mount_(const char *spec, const char *dir, int mflag, char *fstype, in do_mount_() argument 86 assert(fstype != NULL); in do_mount_() 87 assert(strcmp(fstype, MNTTYPE_ZFS) == 0); in do_mount_() 102 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in do_mount_()
|
| /freebsd-13-stable/usr.sbin/bsdinstall/partedit/ |
| HD | part_wizard.c | 50 const char *fstype; in part_wizard() local 55 fstype = fsreq; in part_wizard() 57 fstype = "ufs"; in part_wizard() 87 error = wizard_makeparts(&mesh, schemeroot, fstype, 1); in part_wizard() 315 wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype, in wizard_makeparts() argument 328 if (strcmp(fstype, "zfs") == 0) { in wizard_makeparts()
|
| HD | partedit.h | 57 int part_wizard(const char *fstype); 60 int wizard_makeparts(struct gmesh *mesh, const char *disk, const char *fstype,
|
| /freebsd-13-stable/usr.sbin/autofs/ |
| HD | automountd.c | 178 char *key, *options, *fstype, *nobrowse, *retrycnt, *tmp; in handle_request() local 323 fstype = pick_option("fstype=", &options); in handle_request() 324 if (fstype == NULL) { in handle_request() 327 fstype = checked_strdup("nfs"); in handle_request() 330 if (strcmp(fstype, "nfs") == 0) { in handle_request() 348 f = auto_popen("mount", "-t", fstype, "-o", options, in handle_request()
|
| /freebsd-13-stable/libexec/makewhatis.local/ |
| HD | makewhatis.local.sh | 49 localdirs=`find -H $dirs -fstype local \! -fstype rdonly -type d -prune -print`
|
| /freebsd-13-stable/usr.sbin/periodic/etc/daily/ |
| HD | 100.clean-disks | 43 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \
|
| /freebsd-13-stable/usr.bin/locate/locate/ |
| HD | updatedb.sh | 72 for fstype in $FILESYSTEMS 74 excludes="$excludes $or -fstype $fstype"
|
| /freebsd-13-stable/bin/df/ |
| HD | df.c | 70 int fstype; member 481 mwp->fstype = imax(mwp->fstype, (int)strlen("Type")); in prtstat() 502 xo_emit(" {T:/%-*s}", mwp->fstype, "Type"); in prtstat() 526 xo_emit(" {:type/%-*s}", mwp->fstype, sfsp->f_fstypename); in prtstat() 603 mwp->fstype = imax(mwp->fstype, (int)strlen(sfsp->f_fstypename)); in update_maxwidths()
|
| /freebsd-13-stable/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
|
| /freebsd-13-stable/sys/compat/linprocfs/ |
| HD | linprocfs.c | 457 const char **mntfrom, const char **mntto, const char **fstype) in _mtab_helper() argument 466 *fstype = sp->f_fstypename; in _mtab_helper() 467 if (strcmp(*fstype, pn->pn_info->pi_name) == 0) in _mtab_helper() 468 *mntfrom = *fstype = "proc"; in _mtab_helper() 469 else if (strcmp(*fstype, "procfs") == 0) in _mtab_helper() 472 if (strcmp(*fstype, "autofs") == 0) { in _mtab_helper() 481 if (strcmp(*fstype, "linsysfs") == 0) { in _mtab_helper() 483 *fstype = fstype_sysfs; in _mtab_helper() 486 if (strcmp(*fstype, "msdosfs") == 0) in _mtab_helper() 487 *fstype = "vfat"; in _mtab_helper() [all …]
|
| /freebsd-13-stable/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()
|
| /freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/spl/ |
| HD | spl_vfs.c | 122 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, in mount_snapshot() argument 141 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in mount_snapshot() 143 if (error == 0 && (vfsp = vfs_byname_kld(fstype, td, &error)) == NULL) in mount_snapshot()
|