Home
last modified time | relevance | path

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

123

/freebsd/usr.sbin/makefs/
H A Dmakefs.c97 fstype_t *fstype; in main() local
115 if (fstype->prepare_options) in main()
116 fstype->prepare_options(&fsoptions); in main()
148 usage(fstype, &fsoptions); in main()
222 usage(fstype, &fsoptions); in main()
250 if (fstype->cleanup_options) in main()
251 fstype->cleanup_options(&fsoptions); in main()
255 fstype->prepare_options(&fsoptions); in main()
274 usage(fstype, &fsoptions); in main()
289 usage(fstype, &fsoptions); in main()
[all …]
/freebsd/libexec/rc/rc.d/
H A Dmountcritremote62 fstype=${i%:*}
65 [ "${fstype}" = "nfs" ] && continue
67 case "`mount -d -a -t ${fstype}`" in
68 *mount_${fstype}*)
71 mount -a -t ${fstype}
H A Dmountcritlocal34 fstype=${i%:*}
35 mount_excludes="${mount_excludes}${fstype},"
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dreadonly_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/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dreadonly_001_pos.ksh68 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 Dg_part_bsd64.c115 uint8_t fstype; member
186 uint8_t fstype; member
227 entry->fstype = lt; in bsd64_parse_type()
241 entry->fstype = uap->fstype; in bsd64_parse_type()
246 entry->fstype = FS_OTHER; in bsd64_parse_type()
254 entry->fstype = uap->fstype; in bsd64_parse_type()
262 entry->fstype = uap->fstype; in bsd64_parse_type()
382 entry->fstype); in g_part_bsd64_dumpconf()
417 if (entry->fstype == FS_SWAP || in g_part_bsd64_dumpto()
586 if (entry->fstype != FS_OTHER) { in g_part_bsd64_type()
[all …]
/freebsd/sys/contrib/openzfs/contrib/dracut/02zfsexpandknowledge/
H A Dmodule-setup.sh.in38 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 Dsend-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/sbin/mount/
H A Dmount_fs.c70 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 Dhammer.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/usr.sbin/autofs/
H A Dautomountd.c177 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 Dmakewhatis.local.sh49 localdirs=`find -H $dirs -fstype local \! -fstype rdonly -type d -prune -print`
/freebsd/usr.sbin/bsdinstall/partedit/
H A Dpart_wizard.c52 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 Dpartedit.h59 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 D100.clean-disks43 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \
/freebsd/usr.bin/locate/locate/
H A Dupdatedb.sh71 for fstype in $FILESYSTEMS
73 excludes="$excludes $or -fstype $fstype"
/freebsd/bin/df/
H A Ddf.c58 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/share/examples/hast/
H A Ducarp_down.sh36 fstype="UFS"
62 case "${fstype}" in
H A Ducarp_up.sh36 fstype="UFS"
75 case "${fstype}" in
/freebsd/sbin/mount_udf/
H A Dmount_udf.c77 char fstype[] = "udf"; in main() local
124 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_vfs.c119 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/sys/compat/linprocfs/
H A Dlinprocfs.c463 *fstype = sp->f_fstypename; in _mtab_helper()
464 if (strcmp(*fstype, pn->pn_info->pi_name) == 0) in _mtab_helper()
465 *mntfrom = *fstype = "proc"; in _mtab_helper()
466 else if (strcmp(*fstype, "procfs") == 0) in _mtab_helper()
469 if (strcmp(*fstype, "autofs") == 0) { in _mtab_helper()
478 if (strcmp(*fstype, "linsysfs") == 0) { in _mtab_helper()
480 *fstype = fstype_sysfs; in _mtab_helper()
483 if (strcmp(*fstype, "msdosfs") == 0) in _mtab_helper()
484 *fstype = "vfat"; in _mtab_helper()
515 const char *mntto, *mntfrom, *fstype; in linprocfs_domtab() local
[all …]
/freebsd/sbin/mount_unionfs/
H A Dmount_unionfs.c122 char fstype[] = "unionfs"; in main() local
174 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
/freebsd/contrib/netbsd-tests/fs/vfs/
H A Dt_vfsops.c54 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/contrib/openzfs/etc/zfs/
H A Dzfs-functions.in348 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

123