Home
last modified time | relevance | path

Searched refs:mntpath (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/sbin/mount/
H A Dmount_fs.c83 char *dev, *dir, mntpath[MAXPATHLEN]; in mount_fs() local
122 if (checkpath(dir, mntpath) != 0) { in mount_fs()
123 warn("%s", mntpath); in mount_fs()
129 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in mount_fs()
H A Dmount.c551 char *optbuf, execname[PATH_MAX], mntpath[PATH_MAX]; in mountfs() local
555 if (checkpath(name, mntpath) != 0) { in mountfs()
556 warn("%s", mntpath); in mountfs()
559 name = mntpath; in mountfs()
/freebsd-13.1/sbin/mount_udf/
H A Dmount_udf.c78 char mntpath[MAXPATHLEN]; in main() local
117 if (checkpath(dir, mntpath) != 0) in main()
118 err(EX_USAGE, "%s", mntpath); in main()
127 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
/freebsd-13.1/sbin/mount_msdosfs/
H A Dmount_msdosfs.c76 char *dev, *dir, mntpath[MAXPATHLEN], *csp; in main() local
198 if (checkpath(dir, mntpath) != 0) in main()
199 err(EX_USAGE, "%s", mntpath); in main()
203 if (stat(mntpath, &sb) == -1) in main()
204 err(EX_OSERR, "stat %s", mntpath); in main()
216 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
/freebsd-13.1/sbin/mount_cd9660/
H A Dmount_cd9660.c89 char *dev, *dir, *p, *val, mntpath[MAXPATHLEN]; in main() local
154 if (checkpath(dir, mntpath) != 0) in main()
155 err(1, "%s", mntpath); in main()
179 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
/freebsd-13.1/sbin/mount_fusefs/
H A Dmount_fusefs.c123 char *dev = NULL, *dir = NULL, mntpath[MAXPATHLEN]; in main() local
333 if (checkpath(dir, mntpath) != 0) in main()
334 err(1, "%s", mntpath); in main()
424 build_iovec(&iov, &iovlen, "fspath", mntpath, -1); in main()
432 err(EX_OSERR, "%s on %s", dev, mntpath); in main()
/freebsd-13.1/sbin/mount_nfs/
H A Dmount_nfs.c160 char mntpath[MAXPATHLEN], errmsg[255]; in main() local
468 if (checkpath(mntname, mntpath) != 0) in main()
469 err(1, "%s", mntpath); in main()
472 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
478 errx(1, "nmount: %s, %s", mntpath, nmount_errstr); in main()
480 err(1, "nmount: %s%s%s", mntpath, errmsg[0] ? ", " : "", in main()