Searched refs:mntpath (Results 1 - 8 of 8) sorted by relevance

/freebsd-10.0-release/sbin/mount/
H A Dmount_fs.c81 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 Dmount.c548 char *optbuf, execname[PATH_MAX], mntpath[PATH_MAX]; local
552 if (checkpath(name, mntpath) != 0) {
553 warn("%s", mntpath);
556 name = mntpath;
/freebsd-10.0-release/sbin/mount_udf/
H A Dmount_udf.c76 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-10.0-release/sbin/mount_cd9660/
H A Dmount_cd9660.c87 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-10.0-release/sbin/mount_msdosfs/
H A Dmount_msdosfs.c73 char *dev, *dir, mntpath[MAXPATHLEN], *csp; local
195 if (checkpath(dir, mntpath) != 0)
196 err(EX_USAGE, "%s", mntpath);
200 if (stat(mntpath, &sb) == -1)
201 err(EX_OSERR, "stat %s", mntpath);
213 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
/freebsd-10.0-release/sbin/mount_fusefs/
H A Dmount_fusefs.c108 char *dev = NULL, *dir = NULL, mntpath[MAXPATHLEN]; local
316 if (checkpath(dir, mntpath) != 0)
317 err(1, "%s", mntpath);
413 build_iovec(&iov, &iovlen, "fspath", mntpath, -1);
421 err(EX_OSERR, "%s on %s", dev, mntpath);
/freebsd-10.0-release/bin/df/
H A Ddf.c110 char *mntpath, *mntpt; local
221 mntpath = strdup("/tmp/df.XXXXXX");
222 if (mntpath == NULL) {
227 mntpt = mkdtemp(mntpath);
229 warn("mkdtemp(\"%s\") failed", mntpath);
231 free(mntpath);
239 free(mntpath);
252 free(mntpath);
/freebsd-10.0-release/sbin/mount_nfs/
H A Dmount_nfs.c155 char mntpath[MAXPATHLEN], errmsg[255]; local
413 if (checkpath(name, mntpath) != 0)
414 err(1, "%s", mntpath);
417 build_iovec(&iov, &iovlen, "fspath", mntpath, (size_t)-1);
430 err(1, "%s, %s", mntpath, errmsg);
433 err(1, "%s, %s", mntpath, errmsg);

Completed in 96 milliseconds