Searched refs:mntpath (Results 1 - 8 of 8) sorted by relevance
/freebsd-11-stable/sbin/mount/ |
H A D | mount_fs.c | 81 char *dev, *dir, mntpath[MAXPATHLEN]; local 120 if (checkpath(dir, mntpath) != 0) { 121 warn("%s", mntpath); 127 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
|
H A D | mount.c | 570 char *optbuf, execname[PATH_MAX], mntpath[PATH_MAX]; local 574 if (checkpath(name, mntpath) != 0) { 575 warn("%s", mntpath); 578 name = mntpath;
|
/freebsd-11-stable/sbin/mount_udf/ |
H A D | mount_udf.c | 76 char mntpath[MAXPATHLEN]; local 115 if (checkpath(dir, mntpath) != 0) 116 err(EX_USAGE, "%s", mntpath); 125 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
|
/freebsd-11-stable/sbin/mount_cd9660/ |
H A D | mount_cd9660.c | 87 char *dev, *dir, *p, *val, mntpath[MAXPATHLEN]; local 152 if (checkpath(dir, mntpath) != 0) 153 err(1, "%s", mntpath); 177 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
|
/freebsd-11-stable/sbin/mount_msdosfs/ |
H A D | mount_msdosfs.c | 76 char *dev, *dir, mntpath[MAXPATHLEN], *csp; local 198 if (checkpath(dir, mntpath) != 0) 199 err(EX_USAGE, "%s", mntpath); 203 if (stat(mntpath, &sb) == -1) 204 err(EX_OSERR, "stat %s", mntpath); 216 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
|
/freebsd-11-stable/sbin/mount_fusefs/ |
H A D | mount_fusefs.c | 117 char *dev = NULL, *dir = NULL, mntpath[MAXPATHLEN]; local 325 if (checkpath(dir, mntpath) != 0) 326 err(1, "%s", mntpath); 422 build_iovec(&iov, &iovlen, "fspath", mntpath, -1); 430 err(EX_OSERR, "%s on %s", dev, mntpath);
|
/freebsd-11-stable/bin/df/ |
H A D | df.c | 129 char *mntpath; local 261 mntpath = strdup("/tmp/df.XXXXXX"); 262 if (mntpath == NULL) { 267 mntpt = mkdtemp(mntpath); 269 xo_warn("mkdtemp(\"%s\") failed", mntpath); 271 free(mntpath); 279 mntpath); 293 free(mntpath); 306 free(mntpath);
|
/freebsd-11-stable/sbin/mount_nfs/ |
H A D | mount_nfs.c | 154 char mntpath[MAXPATHLEN], errmsg[255]; local 470 if (checkpath(mntname, mntpath) != 0) 471 err(1, "%s", mntpath); 475 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1); 479 err(1, "nmount: %s%s%s", mntpath, errmsg[0] ? ", " : "",
|
Completed in 131 milliseconds