/freebsd/sbin/mount/ |
H A D | mount_fs.c | 69 char *dev, *dir, mntpath[MAXPATHLEN]; in mount_fs() local 108 if (checkpath(dir, mntpath) != 0) { in mount_fs() 109 warn("%s", mntpath); in mount_fs() 115 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in mount_fs()
|
H A D | mount.c | 545 char *optbuf, execname[PATH_MAX], mntpath[PATH_MAX]; in mountfs() local 550 if (checkpath_allow_file(name, mntpath) != 0) { in mountfs() 551 xo_warn("%s", mntpath); in mountfs() 555 if (checkpath(name, mntpath) != 0) { in mountfs() 556 xo_warn("%s", mntpath); in mountfs() 560 name = mntpath; in mountfs()
|
/freebsd/sbin/mount_udf/ |
H A D | mount_udf.c | 76 char mntpath[MAXPATHLEN]; in main() local 115 if (checkpath(dir, mntpath) != 0) in main() 116 err(EX_USAGE, "%s", mntpath); in main() 125 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
|
/freebsd/sbin/mount_msdosfs/ |
H A D | mount_msdosfs.c | 71 char *dev, *dir, mntpath[MAXPATHLEN], *csp; in main() local 193 if (checkpath(dir, mntpath) != 0) in main() 194 err(EX_USAGE, "%s", mntpath); in main() 198 if (stat(mntpath, &sb) == -1) in main() 199 err(EX_OSERR, "stat %s", mntpath); in main() 211 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
|
/freebsd/sbin/mount_fusefs/ |
H A D | mount_fusefs.c | 122 char *dev = NULL, *dir = NULL, mntpath[MAXPATHLEN]; in main() local 332 if (checkpath(dir, mntpath) != 0) in main() 333 err(1, "%s", mntpath); in main() 423 build_iovec(&iov, &iovlen, "fspath", mntpath, -1); in main() 431 err(EX_OSERR, "%s on %s", dev, mntpath); in main()
|
/freebsd/sbin/mount_cd9660/ |
H A D | mount_cd9660.c | 79 char *dev, *dir, *p, *val, mntpath[MAXPATHLEN]; in main() local 156 if (checkpath(dir, mntpath) != 0) in main() 157 err(1, "%s", mntpath); in main() 181 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main()
|
/freebsd/sbin/mount_nfs/ |
H A D | mount_nfs.c | 148 char mntpath[MAXPATHLEN], errmsg[255]; in main() local 476 if (checkpath(mntname, mntpath) != 0) in main() 477 err(1, "%s", mntpath); in main() 480 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); in main() 486 errx(1, "nmount: %s, %s", mntpath, nmount_errstr); in main() 488 err(1, "nmount: %s%s%s", mntpath, errmsg[0] ? ", " : "", in main()
|