/netbsd-6-1-5-RELEASE/sbin/umount/ |
H A D | umount.c | 185 const char *mntpt; local 191 mntpt = name; 211 mntpt = name; 215 if ((mntpt = getmntname(name, MNTON, &type)) == NULL) { 221 if ((name = getmntname(mntpt, MNTFROM, &type)) == NULL) { 222 warnx("%s: not currently mounted", mntpt); 227 if ((name = getmntname(mntpt, MNTFROM, &type)) == NULL) { 228 name = mntpt; 229 if ((mntpt = getmntname(name, MNTON, &type)) == NULL) { 264 (void)printf("%s: unmount from %s\n", name, mntpt); [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/ |
H A D | amfs_host.c | 102 make_mntpt(char *mntpt, size_t l, const exports ex, const char *mf_mount) argument 106 xstrlcpy(mntpt, mf_mount, l); 108 xsnprintf(mntpt, l, "%s%s", mf_mount, ex->ex_dir); 114 xsnprintf(mntpt, l, "%s/%c%%", mf_mount, ex->ex_dir[0]); 116 xsnprintf(mntpt, l, "%s/%s", mf_mount, ex->ex_dir); 317 char mntpt[MAXPATHLEN]; local 423 make_mntpt(mntpt, sizeof(mntpt), ex, mf->mf_mount); 424 if (already_mounted(mlist, mntpt)) 487 make_mntpt(mntpt, sizeo [all...] |
H A D | mapc.c | 641 mapc_create(char *map, char *opt, const char *type, const char *mntpt) argument 742 m->cfm = find_cf_map(mntpt); 794 mapc_find(char *map, char *opt, const char *maptype, const char *mntpt) argument 808 m = mapc_create(map, opt, maptype, mntpt);
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/lib/libzfs/common/ |
H A D | libzfs_mount.c | 391 char *mntpt = NULL; local 403 mntpt = zfs_strdup(hdl, entry.mnt_mountp); 405 mntpt = zfs_strdup(hdl, mountpoint); 410 if (zfs_unshare_proto(zhp, mntpt, share_all_proto) != 0) 413 if (unmount_one(hdl, mntpt, flags) != 0) { 414 free(mntpt); 419 free(mntpt); 855 char *mntpt; local 861 mntpt = zfs_strdup(hdl, mountpoint); 865 free(mntpt); /* do 899 char *mntpt = NULL; local [all...] |
/netbsd-6-1-5-RELEASE/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_rmdir.sh | 33 atf_test_case mntpt 195 atf_add_test_case mntpt
|
/netbsd-6-1-5-RELEASE/bin/df/ |
H A D | df.c | 88 char *mntpt; local 170 if ((mntpt = getmntpt(*argv)) == 0) { 175 if ((mntpt = getmntpt(*argv)) == 0) 176 mntpt = *argv; 178 mntpt = *argv; 183 if (!statvfs(mntpt, &mntbuf[mntsize]))
|
/netbsd-6-1-5-RELEASE/sbin/fsck/ |
H A D | fsck.c | 253 checkfs(const char *vfst, const char *spec, const char *mntpt, void *auxarg, argument 296 (void)printf("start %s %swait", mntpt, 316 * if mntpt is a mountpoint of a mounted file 320 if ((statvfs(mntpt, &sfs) == 0) && 321 (strcmp(mntpt, sfs.f_mntonname) == 0) && 325 spec, mntpt);
|
H A D | preen.c | 325 addpart(const char *type, const char *dev, const char *mntpt, void *auxarg) argument 338 p->p_mntpt = estrdup(mntpt);
|
/netbsd-6-1-5-RELEASE/sbin/fsck_ext2fs/ |
H A D | main.c | 198 checkfilesys(const char *filesys, char *mntpt, long auxdata, int child) argument
|
/netbsd-6-1-5-RELEASE/sbin/fsck_lfs/ |
H A D | main.c | 179 checkfilesys(const char *filesys, char *mntpt, long auxdata, int child) argument
|
/netbsd-6-1-5-RELEASE/usr.sbin/quotacheck/ |
H A D | quotacheck.c | 308 chkquota(const char *type, const char *fsname, const char *mntpt, void *v, argument 345 (void)printf(" quotas for %s (%s)\n", fsname, mntpt); 452 errs += update(mntpt, qnp->usrqfname, USRQUOTA); 454 errs += update(mntpt, qnp->grpqfname, GRPQUOTA);
|