/netbsd-current/sbin/umount/ |
H A D | umount.c | 194 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 D | amfs_host.c | 98 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 D | mapc.c | 643 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 D | h_funcs.subr | 42 Mount_Point=$(pwd)/mntpt
|
H A D | t_mount.sh | 114 atf_test_case mntpt 139 atf_add_test_case mntpt
|
H A D | t_vnd.sh | 72 umount mntpt/mnt 2>/dev/null 1>&2
|
H A D | t_rmdir.sh | 33 atf_test_case mntpt 195 atf_add_test_case mntpt
|
/netbsd-current/external/cddl/osnet/dist/lib/libzfs/common/ |
H A D | libzfs_mount.c | 384 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 D | libzfs_diff.c | 679 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 D | fsck.c | 199 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 D | preen.c | 336 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 D | df.c | 98 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 D | main.c | 205 checkfilesys(const char *filesys, char *mntpt, long auxdata, int child) argument
|
/netbsd-current/sbin/fsck_ext2fs/ |
H A D | main.c | 233 checkfilesys(const char *filesys, char *mntpt, long auxdata, int child) argument
|
/netbsd-current/usr.sbin/quotacheck/ |
H A D | quotacheck.c | 316 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);
|