Home
last modified time | relevance | path

Searched refs:fstype (Results 1 – 25 of 57) sorted by relevance

123

/freebsd-13-stable/sys/contrib/openzfs/lib/libshare/
HDlibshare.c53 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 …]
HDlibshare_impl.h39 #define FSINFO(impl_share, fstype) \ argument
40 (&(impl_share->sa_fsinfo[fstype->fsinfo_index]))
/freebsd-13-stable/usr.sbin/makefs/
HDmakefs.c95 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/
HDmountcritremote62 fstype=${i%:*}
65 [ "${fstype}" = "nfs" ] && continue
67 case "`mount -d -a -t ${fstype}`" in
68 *mount_${fstype}*)
71 mount -a -t ${fstype}
HDmountcritlocal34 fstype=${i%:*}
35 mount_excludes="${mount_excludes}${fstype},"
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
HDreadonly_001_pos.ksh59 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/
HDreadonly_001_pos.ksh71 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/
HDg_part_bsd64.c116 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/
HDmodule-setup.sh.in38 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/
HDsend-wR_encrypted_zvol.ksh41 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/
HDmount_fs.c82 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/
HDhammer.c63 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/
HDlibzfs_zmount.c77 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/
HDpart_wizard.c50 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()
HDpartedit.h57 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/
HDautomountd.c178 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/
HDmakewhatis.local.sh49 localdirs=`find -H $dirs -fstype local \! -fstype rdonly -type d -prune -print`
/freebsd-13-stable/usr.sbin/periodic/etc/daily/
HD100.clean-disks43 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \
/freebsd-13-stable/usr.bin/locate/locate/
HDupdatedb.sh72 for fstype in $FILESYSTEMS
74 excludes="$excludes $or -fstype $fstype"
/freebsd-13-stable/bin/df/
HDdf.c70 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/
HDucarp_down.sh35 fstype="UFS"
61 case "${fstype}" in
HDucarp_up.sh35 fstype="UFS"
74 case "${fstype}" in
/freebsd-13-stable/sys/compat/linprocfs/
HDlinprocfs.c457 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/
HDmount_udf.c77 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/
HDspl_vfs.c122 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()

123