Home
last modified time | relevance | path

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

12

/freebsd-9-stable/sbin/mount_ext2fs/
Dmount_ext2fs.c65 char *fstype; in main() local
67 fstype = strrchr(argv[0], '_'); in main()
68 if (fstype == NULL) in main()
71 ++fstype; in main()
109 build_iovec(&iov, &iovlen, "fstype", fstype, strlen(fstype) + 1); in main()
/freebsd-9-stable/etc/rc.d/
Dmountcritremote59 fstype=${i%:*}
62 [ "${fstype}" = "nfs" ] && continue
64 case "`mount -d -a -t ${fstype}`" in
65 *mount_${fstype}*)
67 mount -a -t ${fstype}
Dmountcritlocal34 fstype=${i%:*}
35 mount_excludes="${mount_excludes}${fstype},"
/freebsd-9-stable/usr.sbin/makefs/
Dmakefs.c88 fstype_t *fstype; in main() local
98 if ((fstype = get_fstype(DEFAULT_FSTYPE)) == NULL) in main()
106 if (fstype->prepare_options) in main()
107 fstype->prepare_options(&fsoptions); in main()
202 if (! fstype->parse_options(p, &fsoptions)) in main()
231 if (fstype->cleanup_options) in main()
232 fstype->cleanup_options(&fsoptions); in main()
234 if ((fstype = get_fstype(optarg)) == NULL) in main()
236 fstype->prepare_options(&fsoptions); in main()
322 fstype->make_fs(argv[0], subtree, root, &fsoptions); in main()
/freebsd-9-stable/sbin/mount/
Dmount_fs.c82 char fstype[32]; in mount_fs() local
86 strlcpy(fstype, vfstype, sizeof(fstype)); in mount_fs()
123 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in mount_fs()
/freebsd-9-stable/bin/df/
Ddf.c72 int fstype; member
109 const char *fstype; in main() local
115 fstype = "ufs"; in main()
180 fstype = optarg; in main()
234 if (mount(fstype, mntpt, MNT_RDONLY, in main()
418 mwp->fstype = imax(mwp->fstype, (int)strlen("Type")); in prtstat()
439 (void)printf(" %-*s", mwp->fstype, "Type"); in prtstat()
460 (void)printf(" %-*s", mwp->fstype, sfsp->f_fstypename); in prtstat()
530 mwp->fstype = imax(mwp->fstype, (int)strlen(sfsp->f_fstypename)); in update_maxwidths()
/freebsd-9-stable/cddl/compat/opensolaris/misc/
Dzmount.c73 zmount(const char *spec, const char *dir, int mflag, char *fstype, in zmount() argument
83 assert(fstype != NULL); in zmount()
84 assert(strcmp(fstype, MNTTYPE_ZFS) == 0); in zmount()
97 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in zmount()
/freebsd-9-stable/sys/kern/
Dvfs_init.c122 vfs_byname_kld(const char *fstype, struct thread *td, int *error) in vfs_byname_kld() argument
127 vfsp = vfs_byname(fstype); in vfs_byname_kld()
132 *error = kern_kldload(td, fstype, &fileid); in vfs_byname_kld()
140 vfsp = vfs_byname(fstype); in vfs_byname_kld()
Dvfs_mount.c73 static int vfs_domount(struct thread *td, const char *fstype, char *fspath,
538 char *fstype, *fspath, *errmsg; in vfs_donmount() local
558 error = vfs_getopt(optlist, "fstype", (void **)&fstype, &fstypelen); in vfs_donmount()
559 if (error || fstype[fstypelen - 1] != '\0') { in vfs_donmount()
664 error = vfs_domount(td, fstype, fspath, fsflags, &optlist); in vfs_donmount()
707 char *fstype; local
731 fstype = malloc(MFSNAMELEN, M_TEMP, M_WAITOK);
732 error = copyinstr(uap->type, fstype, MFSNAMELEN, NULL);
734 free(fstype, M_TEMP);
738 AUDIT_ARG_TEXT(fstype);
[all …]
/freebsd-9-stable/etc/periodic/daily/
D100.clean-disks44 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \
/freebsd-9-stable/sys/geom/part/
Dg_part_bsd.c116 bsd_parse_type(const char *type, uint8_t *fstype) in bsd_parse_type() argument
126 *fstype = (u_int)lt; in bsd_parse_type()
131 *fstype = FS_NANDFS; in bsd_parse_type()
136 *fstype = FS_SWAP; in bsd_parse_type()
141 *fstype = FS_BSDFFS; in bsd_parse_type()
146 *fstype = FS_VINUM; in bsd_parse_type()
151 *fstype = FS_ZFS; in bsd_parse_type()
/freebsd-9-stable/sbin/mount_reiserfs/
Dmount_reiserfs.c55 char fstype[] = "reiserfs"; in main() local
91 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
/freebsd-9-stable/usr.bin/locate/locate/
Dupdatedb.sh70 for fstype in $FILESYSTEMS
72 excludes="$excludes $or -fstype $fstype"
/freebsd-9-stable/share/examples/hast/
Ducarp_down.sh35 fstype="UFS"
61 case "${fstype}" in
Ducarp_up.sh35 fstype="UFS"
74 case "${fstype}" in
/freebsd-9-stable/sys/cddl/compat/opensolaris/kern/
Dopensolaris_vfs.c115 mount_snapshot(kthread_t *td, vnode_t **vpp, const char *fstype, char *fspath, in mount_snapshot() argument
135 if (strlen(fstype) >= MFSNAMELEN || strlen(fspath) >= MNAMELEN) in mount_snapshot()
137 if (error == 0 && (vfsp = vfs_byname_kld(fstype, td, &error)) == NULL) in mount_snapshot()
/freebsd-9-stable/sbin/mount_unionfs/
Dmount_unionfs.c135 char fstype[] = "unionfs"; in main() local
186 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
/freebsd-9-stable/sys/compat/linprocfs/
Dlinprocfs.c334 char *dlep, *flep, *mntto, *mntfrom, *fstype; in linprocfs_domtab() local
364 fstype = mp->mnt_stat.f_fstypename; in linprocfs_domtab()
365 if (strcmp(fstype, pn->pn_info->pi_name) == 0) in linprocfs_domtab()
366 mntfrom = fstype = "proc"; in linprocfs_domtab()
367 else if (strcmp(fstype, "procfs") == 0) in linprocfs_domtab()
370 if (strcmp(fstype, "linsysfs") == 0) { in linprocfs_domtab()
375 if (strcmp(fstype, "msdosfs") == 0) in linprocfs_domtab()
376 fstype = "vfat"; in linprocfs_domtab()
377 sbuf_printf(sb, "%s %s %s %s", mntfrom, mntto, fstype, in linprocfs_domtab()
/freebsd-9-stable/sbin/mount_nfs/
Dmount_nfs.c154 char *name, *p, *spec, *fstype; in main() local
164 fstype = strrchr(argv[0], '_'); in main()
165 if (fstype == NULL) in main()
168 ++fstype; in main()
276 fstype = "nfs"; in main()
330 fstype = "nfs"; in main()
413 if (strcmp(fstype, "nfs") == 0) { in main()
442 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
/freebsd-9-stable/sbin/mount_cd9660/
Dmount_cd9660.c90 char fstype[] = "cd9660"; in main() local
175 build_iovec(&iov, &iovlen, "fstype", fstype, (size_t)-1); in main()
/freebsd-9-stable/usr.sbin/bsdconfig/share/media/
Dufs.subr78 local fstype
79 fstype=$( df -nT $ufs 2> /dev/null |
83 device_ufs set name ${fstype:-ufs}
/freebsd-9-stable/usr.bin/makewhatis/
Dmakewhatis.local.sh52 localdirs=`find -H $dirs -fstype local -type d -prune -print`
/freebsd-9-stable/etc/periodic/weekly/
D340.noid20 \( ! -fstype local -prune -or -name \* \) -and \
/freebsd-9-stable/share/examples/autofs/driver/
Dautotab3 # autofs, directory, fstype, opts, path
/freebsd-9-stable/usr.sbin/sade/
Dconfig.c119 fstype(Chunk *c1) in fstype() function
235fstype(chunk_list[i]), fstype_short(chunk_list[i]), seq_num(chunk_list[i]), seq_num(chunk_list[i])…

12