Searched refs:mntpt (Results 1 - 15 of 15) sorted by relevance

/netbsd-current/sbin/umount/
H A Dumount.c194 const char *mntpt; local
200 mntpt = name;
220 mntpt = name;
224 if ((mntpt = getmntname(name, MNTON, &type)) == NULL) {
230 if ((name = getmntname(mntpt, MNTFROM, &type)) == NULL) {
231 warnx("%s: not currently mounted", mntpt);
236 if ((name = getmntname(mntpt, MNTFROM, &type)) == NULL) {
237 name = mntpt;
238 if ((mntpt = getmntname(name, MNTON, &type)) == NULL) {
253 proto = getmntproto(mntpt);
[all...]
/netbsd-current/external/bsd/am-utils/dist/amd/
H A Damfs_host.c98 make_mntpt(char *mntpt, size_t l, const exports ex, const char *mf_mount) argument
102 xstrlcpy(mntpt, mf_mount, l);
104 xsnprintf(mntpt, l, "%s%s", mf_mount, ex->ex_dir);
110 xsnprintf(mntpt, l, "%s/%c%%", mf_mount, ex->ex_dir[0]);
112 xsnprintf(mntpt, l, "%s/%s", mf_mount, ex->ex_dir);
320 char mntpt[MAXPATHLEN]; local
426 make_mntpt(mntpt, sizeof(mntpt), ex, mf->mf_mount);
427 if (already_mounted(mlist, mntpt))
490 make_mntpt(mntpt, sizeo
[all...]
H A Dmapc.c643 mapc_create(char *map, char *opt, const char *type, const char *mntpt) argument
745 m->cfm = find_cf_map(mntpt);
808 mapc_find(char *map, char *opt, const char *maptype, const char *mntpt) argument
822 m = mapc_create(map, opt, maptype, mntpt);
/netbsd-current/tests/fs/tmpfs/
H A Dh_funcs.subr42 Mount_Point=$(pwd)/mntpt
H A Dt_mount.sh114 atf_test_case mntpt
139 atf_add_test_case mntpt
H A Dt_vnd.sh72 umount mntpt/mnt 2>/dev/null 1>&2
H A Dt_rmdir.sh33 atf_test_case mntpt
195 atf_add_test_case mntpt
/netbsd-current/external/cddl/osnet/dist/lib/libzfs/common/
H A Dlibzfs_mount.c384 char *mntpt = NULL; local
396 mntpt = zfs_strdup(hdl, entry.mnt_mountp);
398 mntpt = zfs_strdup(hdl, mountpoint);
403 if (zfs_unshare_proto(zhp, mntpt, share_all_proto) != 0)
406 if (unmount_one(hdl, mntpt, flags) != 0) {
407 free(mntpt);
412 free(mntpt);
866 char *mntpt; local
872 mntpt = zfs_strdup(hdl, mountpoint);
876 free(mntpt); /* do
927 char *mntpt = NULL; local
[all...]
H A Dlibzfs_diff.c679 get_mountpoint(differ_info_t *di, char *dsnm, char **mntpt) argument
683 mounted = is_mounted(di->zhp->zfs_hdl, dsnm, mntpt);
692 if (**mntpt == '/' && *(*mntpt + 1) == '\0')
693 **mntpt = '\0';
719 char *mntpt; local
723 err = get_mountpoint(di, di->fromsnap, &mntpt);
727 frommntpt = mntpt;
/netbsd-current/sbin/fsck/
H A Dfsck.c199 const char *spec, *spec2, *mntpt, *type, *cp; local
202 spec = mntpt = *argv;
267 checkfs(const char *vfst, const char *spec, const char *mntpt, void *auxarg, argument
310 (void)printf("start %s %swait", mntpt,
330 * if mntpt is a mountpoint of a mounted file
334 if ((statvfs(mntpt, &sfs) == 0) &&
335 (strcmp(mntpt, sfs.f_mntonname) == 0) &&
339 spec, mntpt);
H A Dpreen.c336 addpart(const char *type, const char *dev, const char *mntpt, void *auxarg) argument
349 p->p_mntpt = estrdup(mntpt);
/netbsd-current/bin/df/
H A Ddf.c98 char *mntpt; local
205 if ((mntpt = getmntpt(*argv)) == 0) {
210 if ((mntpt = getmntpt(*argv)) == 0)
211 mntpt = *argv;
213 mntpt = *argv;
218 if (!statvfs(mntpt, &mntbuf[mntcount]))
/netbsd-current/sbin/fsck_lfs/
H A Dmain.c205 checkfilesys(const char *filesys, char *mntpt, long auxdata, int child) argument
/netbsd-current/sbin/fsck_ext2fs/
H A Dmain.c233 checkfilesys(const char *filesys, char *mntpt, long auxdata, int child) argument
/netbsd-current/usr.sbin/quotacheck/
H A Dquotacheck.c316 chkquota(const char *type, const char *fsname, const char *mntpt, void *v, argument
354 (void)printf(" quotas for %s (%s)\n", fsname, mntpt);
467 errs += update(mntpt, qnp->usrqfname, USRQUOTA);
469 errs += update(mntpt, qnp->grpqfname, GRPQUOTA);

Completed in 180 milliseconds